Class: BizRatr::Connector
- Inherits:
-
Object
- Object
- BizRatr::Connector
- Defined in:
- lib/bizratr/connector.rb
Direct Known Subclasses
FacebookConnector, FactualConnector, FourSquareConnector, GooglePlacesConnector, YelpConnector
Instance Method Summary collapse
-
#initialize(uberclient, config) ⇒ Connector
constructor
A new instance of Connector.
- #make_client(config) ⇒ Object
- #search_location(location, query) ⇒ Object
Constructor Details
#initialize(uberclient, config) ⇒ Connector
Returns a new instance of Connector.
11 12 13 14 15 |
# File 'lib/bizratr/connector.rb', line 11 def initialize(uberclient, config) @uberclient = uberclient @config = config @client = make_client(@config) end |
Instance Method Details
#make_client(config) ⇒ Object
17 18 19 |
# File 'lib/bizratr/connector.rb', line 17 def make_client(config) raise "Not implemented" end |
#search_location(location, query) ⇒ Object
21 22 23 |
# File 'lib/bizratr/connector.rb', line 21 def search_location(location, query) raise "Not implemented" end |