Class: Facter::Util::Resolvers::Ssh

Inherits:
Object
  • Object
show all
Defined in:
lib/facter/util/resolvers/ssh.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#fingerprintObject

Returns the value of attribute fingerprint.



7
8
9
# File 'lib/facter/util/resolvers/ssh.rb', line 7

def fingerprint
  @fingerprint
end

#keyObject

Returns the value of attribute key.



7
8
9
# File 'lib/facter/util/resolvers/ssh.rb', line 7

def key
  @key
end

#nameObject

Returns the value of attribute name.



7
8
9
# File 'lib/facter/util/resolvers/ssh.rb', line 7

def name
  @name
end

#typeObject

Returns the value of attribute type.



7
8
9
# File 'lib/facter/util/resolvers/ssh.rb', line 7

def type
  @type
end