Class: FSSH::Instance
- Inherits:
-
Object
- Object
- FSSH::Instance
- Defined in:
- lib/fssh/instance.rb
Instance Method Summary collapse
- #base ⇒ Object
- #dns_name ⇒ Object
-
#initialize(instance) ⇒ Instance
constructor
A new instance of Instance.
- #private_dns_name ⇒ Object
Constructor Details
#initialize(instance) ⇒ Instance
Returns a new instance of Instance.
8 9 10 |
# File 'lib/fssh/instance.rb', line 8 def initialize(instance) @instance = instance end |
Instance Method Details
#base ⇒ Object
12 13 14 |
# File 'lib/fssh/instance.rb', line 12 def base @instance end |
#dns_name ⇒ Object
16 17 18 |
# File 'lib/fssh/instance.rb', line 16 def dns_name base.instancesSet.item.first.dnsName end |
#private_dns_name ⇒ Object
20 21 22 |
# File 'lib/fssh/instance.rb', line 20 def private_dns_name base.instancesSet.item.first.privateDnsName end |