Class: Cuenote::Api::Result

Inherits:
Node show all
Defined in:
lib/cuenote/api/result.rb

Instance Method Summary collapse

Methods inherited from Node

#attributes, #elements

Methods inherited from Base

connection, #connection, run, #run

Constructor Details

#initialize(doc = nil) ⇒ Result

Returns a new instance of Result.



5
6
7
8
# File 'lib/cuenote/api/result.rb', line 5

def initialize(doc=nil)
  super
  @doc = @doc.elements['forcast/result']
end