Class: AwsCredVault::Bastion
- Inherits:
-
Object
- Object
- AwsCredVault::Bastion
- Defined in:
- lib/aws_cred_vault/bastion.rb
Instance Attribute Summary collapse
-
#host ⇒ Object
readonly
Returns the value of attribute host.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, host) ⇒ Bastion
constructor
A new instance of Bastion.
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
#host ⇒ Object (readonly)
Returns the value of attribute host.
4 5 6 |
# File 'lib/aws_cred_vault/bastion.rb', line 4 def host @host end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
4 5 6 |
# File 'lib/aws_cred_vault/bastion.rb', line 4 def name @name end |