Class: Facter::Ssh

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(fingerprint, type, key, name) ⇒ Ssh

Returns a new instance of Ssh.



6
7
8
9
10
11
# File 'lib/resolvers/utils/ssh.rb', line 6

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.



5
6
7
# File 'lib/resolvers/utils/ssh.rb', line 5

def fingerprint
  @fingerprint
end

#keyObject

Returns the value of attribute key.



5
6
7
# File 'lib/resolvers/utils/ssh.rb', line 5

def key
  @key
end

#nameObject

Returns the value of attribute name.



5
6
7
# File 'lib/resolvers/utils/ssh.rb', line 5

def name
  @name
end

#typeObject

Returns the value of attribute type.



5
6
7
# File 'lib/resolvers/utils/ssh.rb', line 5

def type
  @type
end