Method: Cloudkick::Node#initialize

Defined in:
lib/cloudkick/node.rb

#initialize(agent_state, color, id, ipaddress, name, provider_id, provider_name, status, tags) ⇒ Node

Returns a new instance of Node.



23
24
25
26
27
28
29
30
31
32
33
34
# File 'lib/cloudkick/node.rb', line 23

def initialize(agent_state, color, id, ipaddress, name,
               provider_id, provider_name, status, tags)
  @agent_state = agent_state
  @color = color
  @id = id
  @ipaddress = ipaddress
  @name = name
  @provider_id = provider_id
  @provider_name = provider_name
  @status = status
  @tags = tags
end