class Wego::Location

Public Class Methods

find(location, options = {}) click to toggle source
# File lib/wego/location.rb, line 3
def self.find(location, options = {})
  Wego.get_resource(
    "locations/search",
    options.merge(q: location)
  )
end