Class: Foursquare::Merchant::Base

Inherits:
Object
  • Object
show all
Includes:
Requests, HTTParty
Defined in:
lib/foursquare/base.rb

Direct Known Subclasses

Campaigns, Consumer, Specials, VenueGroups, Venues

Constant Summary

Constants included from Requests

Requests::API, Requests::OAUTH

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Requests

#get, #post

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

#consumerObject

Returns the value of attribute consumer.



11
12
13
# File 'lib/foursquare/base.rb', line 11

def consumer
  @consumer
end