Class: Wego::Location
- Inherits:
-
Object
- Object
- Wego::Location
- Defined in:
- lib/wego/location.rb
Class Method Summary collapse
Class Method Details
.find(location, options = {}) ⇒ Object
3 4 5 6 7 8 |
# File 'lib/wego/location.rb', line 3 def self.find(location, = {}) Wego.get_resource( "locations/search", .merge(q: location) ) end |