Class: Foursquare::Merchant::Base
- Inherits:
-
Object
- Object
- Foursquare::Merchant::Base
- Includes:
- Requests, HTTParty
- Defined in:
- lib/foursquare/base.rb
Direct Known Subclasses
Constant Summary
Constants included from Requests
Requests::API, Requests::OAUTH
Instance Attribute Summary collapse
-
#consumer ⇒ Object
Returns the value of attribute consumer.
Instance Method Summary collapse
-
#initialize(consumer) ⇒ Base
constructor
A new instance of Base.
Methods included from Requests
Constructor Details
#initialize(consumer) ⇒ Base
Returns a new instance of Base.
12 13 14 |
# File 'lib/foursquare/base.rb', line 12 def initialize(consumer) @consumer = consumer end |
Instance Attribute Details
#consumer ⇒ Object
Returns the value of attribute consumer.
11 12 13 |
# File 'lib/foursquare/base.rb', line 11 def consumer @consumer end |