diff options
Diffstat (limited to 'qa/qa/resource/ssh_key.rb')
-rw-r--r-- | qa/qa/resource/ssh_key.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/qa/qa/resource/ssh_key.rb b/qa/qa/resource/ssh_key.rb index dd475d7fa66..1c142058908 100644 --- a/qa/qa/resource/ssh_key.rb +++ b/qa/qa/resource/ssh_key.rb @@ -3,14 +3,12 @@ module QA module Resource class SSHKey < Base - extend Forwardable - attr_reader :title attr_accessor :expires_at attribute :id - def_delegators :key, :private_key, :public_key, :md5_fingerprint, :sha256_fingerprint + delegate :private_key, :public_key, :md5_fingerprint, :sha256_fingerprint, to: :key def initialize self.title = Time.now.to_f |