Class: Restic::Service::SSHKeys::PublicKey
- Inherits:
-
Struct
- Object
- Struct
- Restic::Service::SSHKeys::PublicKey
- Defined in:
- lib/restic/service/ssh_keys.rb
Instance Attribute Summary collapse
-
#hash ⇒ Object
Returns the value of attribute hash.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#hash ⇒ Object
Returns the value of attribute hash
9 10 11 |
# File 'lib/restic/service/ssh_keys.rb', line 9 def hash @hash end |
#type ⇒ Object
Returns the value of attribute type
9 10 11 |
# File 'lib/restic/service/ssh_keys.rb', line 9 def type @type end |
Instance Method Details
#==(other) ⇒ Object
10 11 12 13 |
# File 'lib/restic/service/ssh_keys.rb', line 10 def ==(other) other.type == type && other.hash == hash end |