Class: Barometer::Query::Converter::ToWoeId
- Inherits:
-
Object
- Object
- Barometer::Query::Converter::ToWoeId
- Defined in:
- lib/barometer/query/converters/to_woe_id.rb
Class Method Summary collapse
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(query) ⇒ ToWoeId
constructor
A new instance of ToWoeId.
Constructor Details
#initialize(query) ⇒ ToWoeId
Returns a new instance of ToWoeId.
9 10 11 |
# File 'lib/barometer/query/converters/to_woe_id.rb', line 9 def initialize(query) @query = query end |
Class Method Details
.from ⇒ Object
5 6 7 |
# File 'lib/barometer/query/converters/to_woe_id.rb', line 5 def self.from [:short_zipcode, :zipcode, :geocode, :unknown, :coordinates, :postalcode] end |