Class: Facter::Util::Resolvers::Ssh
- Inherits:
-
Object
- Object
- Facter::Util::Resolvers::Ssh
- Defined in:
- lib/facter/util/resolvers/ssh.rb
Instance Attribute Summary collapse
-
#fingerprint ⇒ Object
Returns the value of attribute fingerprint.
-
#key ⇒ Object
Returns the value of attribute key.
-
#name ⇒ Object
Returns the value of attribute name.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(fingerprint, type, key, name) ⇒ Ssh
constructor
A new instance of Ssh.
Constructor Details
#initialize(fingerprint, type, key, name) ⇒ Ssh
Returns a new instance of Ssh.
8 9 10 11 12 13 |
# File 'lib/facter/util/resolvers/ssh.rb', line 8 def initialize(fingerprint, type, key, name) @fingerprint = fingerprint @type = type @key = key @name = name end |
Instance Attribute Details
#fingerprint ⇒ Object
Returns the value of attribute fingerprint.
7 8 9 |
# File 'lib/facter/util/resolvers/ssh.rb', line 7 def fingerprint @fingerprint end |
#key ⇒ Object
Returns the value of attribute key.
7 8 9 |
# File 'lib/facter/util/resolvers/ssh.rb', line 7 def key @key end |
#name ⇒ Object
Returns the value of attribute name.
7 8 9 |
# File 'lib/facter/util/resolvers/ssh.rb', line 7 def name @name end |
#type ⇒ Object
Returns the value of attribute type.
7 8 9 |
# File 'lib/facter/util/resolvers/ssh.rb', line 7 def type @type end |