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



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

def fingerprint
  @fingerprint
end

#keyObject



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

def key
  @key
end

#nameObject



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

def name
  @name
end

#typeObject



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

def type
  @type
end