Class: Barometer::WeatherService::Yahoo::Response::Location
- Inherits:
-
Object
- Object
- Barometer::WeatherService::Yahoo::Response::Location
- Defined in:
- lib/barometer/weather_services/yahoo/response/location.rb
Instance Method Summary collapse
-
#initialize(payload) ⇒ Location
constructor
A new instance of Location.
- #parse ⇒ Object
Constructor Details
#initialize(payload) ⇒ Location
Returns a new instance of Location.
6 7 8 |
# File 'lib/barometer/weather_services/yahoo/response/location.rb', line 6 def initialize(payload) @payload = payload end |