Class: Kraaken::Cloud::Server
- Inherits:
-
Struct
- Object
- Struct
- Kraaken::Cloud::Server
- Defined in:
- lib/kraaken/cloud.rb
Instance Attribute Summary collapse
-
#ip ⇒ Object
Returns the value of attribute ip.
-
#name ⇒ Object
Returns the value of attribute name.
-
#public_ip ⇒ Object
Returns the value of attribute public_ip.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
Instance Attribute Details
#ip ⇒ Object
Returns the value of attribute ip
4 5 6 |
# File 'lib/kraaken/cloud.rb', line 4 def ip @ip end |
#name ⇒ Object
Returns the value of attribute name
4 5 6 |
# File 'lib/kraaken/cloud.rb', line 4 def name @name end |
#public_ip ⇒ Object
Returns the value of attribute public_ip
4 5 6 |
# File 'lib/kraaken/cloud.rb', line 4 def public_ip @public_ip end |
#status ⇒ Object
Returns the value of attribute status
4 5 6 |
# File 'lib/kraaken/cloud.rb', line 4 def status @status end |
Instance Method Details
#jump? ⇒ Boolean
5 6 7 |
# File 'lib/kraaken/cloud.rb', line 5 def jump? name == "jump" end |