Class: Shortwave::Provider::VenueProvider

Inherits:
BaseProvider show all
Defined in:
lib/shortwave/providers.rb

Overview

Produces Venue objects

Instance Method Summary collapse

Methods inherited from BaseProvider

#build, #initialize

Constructor Details

This class inherits a constructor from Shortwave::Provider::BaseProvider

Instance Method Details

#search(name, country = nil) ⇒ Object



147
148
149
150
151
# File 'lib/shortwave/providers.rb', line 147

def search(name, country=nil)
  hsh = {}
  hsh[:country] = country if country
  parse_collection @facade.search(name, hsh)
end