Class: Kraaken::Cloud::Server

Inherits:
Struct
  • Object
show all
Defined in:
lib/kraaken/cloud.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#ipObject

Returns the value of attribute ip

Returns:

  • (Object)

    the current value of ip



4
5
6
# File 'lib/kraaken/cloud.rb', line 4

def ip
  @ip
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



4
5
6
# File 'lib/kraaken/cloud.rb', line 4

def name
  @name
end

#public_ipObject

Returns the value of attribute public_ip

Returns:

  • (Object)

    the current value of public_ip



4
5
6
# File 'lib/kraaken/cloud.rb', line 4

def public_ip
  @public_ip
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



4
5
6
# File 'lib/kraaken/cloud.rb', line 4

def status
  @status
end

Instance Method Details

#jump?Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/kraaken/cloud.rb', line 5

def jump?
  name == "jump"
end