Exception: WeatherHacks::LWWS::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/weatherhacks/lwws.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(res) ⇒ Error

Returns a new instance of Error.



15
16
17
# File 'lib/weatherhacks/lwws.rb', line 15

def initialize(res)
  @res = res
end

Instance Attribute Details

#resObject (readonly)

Returns the value of attribute res.



14
15
16
# File 'lib/weatherhacks/lwws.rb', line 14

def res
  @res
end