Class: Brrr::Channel::Cloud
- Inherits:
-
Feed::Element
- Object
- Feed::Element
- Brrr::Channel::Cloud
- Defined in:
- lib/brrr/channel/cloud.rb
Instance Method Summary collapse
- #domain ⇒ Object
-
#initialize(node) ⇒ Cloud
constructor
A new instance of Cloud.
- #path ⇒ Object
- #port ⇒ Object
- #protocol ⇒ Object
- #register_procedure ⇒ Object
Methods inherited from Feed::Element
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
#domain ⇒ Object
9 10 11 |
# File 'lib/brrr/channel/cloud.rb', line 9 def domain node.attribute("domain").value end |
#path ⇒ Object
17 18 19 |
# File 'lib/brrr/channel/cloud.rb', line 17 def path node.attribute("path").value end |
#port ⇒ Object
13 14 15 |
# File 'lib/brrr/channel/cloud.rb', line 13 def port Integer(node.attribute("port").value) end |
#protocol ⇒ Object
25 26 27 |
# File 'lib/brrr/channel/cloud.rb', line 25 def protocol node.attribute("protocol").value end |
#register_procedure ⇒ Object
21 22 23 |
# File 'lib/brrr/channel/cloud.rb', line 21 def register_procedure node.attribute("registerProcedure").value end |