Class: Brrr::Channel::Cloud

Inherits:
Feed::Element show all
Defined in:
lib/brrr/channel/cloud.rb

Instance Method Summary collapse

Methods inherited from Feed::Element

#value

Constructor Details

#initialize(node) ⇒ Cloud

Returns a new instance of Cloud.



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

def initialize(node)
  super
end

Instance Method Details

#domainObject



9
10
11
# File 'lib/brrr/channel/cloud.rb', line 9

def domain
  node.attribute("domain").value
end

#pathObject



17
18
19
# File 'lib/brrr/channel/cloud.rb', line 17

def path
  node.attribute("path").value
end

#portObject



13
14
15
# File 'lib/brrr/channel/cloud.rb', line 13

def port
  Integer(node.attribute("port").value)
end

#protocolObject



25
26
27
# File 'lib/brrr/channel/cloud.rb', line 25

def protocol
  node.attribute("protocol").value
end

#register_procedureObject



21
22
23
# File 'lib/brrr/channel/cloud.rb', line 21

def register_procedure
  node.attribute("registerProcedure").value
end