Class: AwsCredVault::Bastion

Inherits:
Object
  • Object
show all
Defined in:
lib/aws_cred_vault/bastion.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, host) ⇒ Bastion

Returns a new instance of Bastion.



6
7
8
9
# File 'lib/aws_cred_vault/bastion.rb', line 6

def initialize name, host
  @name = name
  @host = host
end

Instance Attribute Details

#hostObject (readonly)

Returns the value of attribute host.



4
5
6
# File 'lib/aws_cred_vault/bastion.rb', line 4

def host
  @host
end

#nameObject (readonly)

Returns the value of attribute name.



4
5
6
# File 'lib/aws_cred_vault/bastion.rb', line 4

def name
  @name
end