Class: Getevents::Location

Inherits:
Object
  • Object
show all
Includes:
Utils
Defined in:
lib/getevents/location.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.search(city) ⇒ Object



4
5
6
# File 'lib/getevents/location.rb', line 4

def self.search(city)
  new.search(city)
end

Instance Method Details

#search(city) ⇒ Object



8
9
10
# File 'lib/getevents/location.rb', line 8

def search(city)
  format_response_collection(raw_search(city), "cities")
end