Module: Portero::SearchProvider
- Included in:
- Foursquare, GooglePlaces
- Defined in:
- lib/portero/portero.rb,
lib/portero/search_provider.rb,
lib/portero/providers/foursquare.rb,
lib/portero/providers/google_places.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods Classes: Foursquare, GooglePlaces, InterfaceNotImplementedError, MissingRequirementError
Class Method Summary collapse
Class Method Details
.included(receiver) ⇒ Object
40 41 42 43 44 45 46 47 |
# File 'lib/portero/search_provider.rb', line 40 def self.included(receiver) receiver.extend ClassMethods receiver.send :include, InstanceMethods class << receiver class_attribute(:required_options) self. = [] end end |