lib/foursquare2/campaigns.rb
def list_campaigns(options={})
      response = connection.get do |req|
        req.url "campaigns/list", options
      end
        return_error_or_body(response, response.body.response.campaigns.items)
    end
def list_campaigns(options={})
      response = connection.get do |req|
        req.url "campaigns/list", options
      end
        return_error_or_body(response, response.body.response.campaigns.items)
    end
def list_campaigns ( options = { } ) response = connection . get do | req | req . url "campaigns/list" , options end return_error_or_body ( response , response . body . response . campaigns . items ) end
Get a list of campaigns
 Details on param options can be found at https://developer.foursquare.com/docs/campaigns/list

 @param [Hash]  options
 @option options String :specialId - if specified, limits response to campaigns involving the given special
 @option options String :groupId - if specified, limits response to campaigns involving the given group
 @option options String :status - which campaigns to return: pending,scheduled,active,expired,depleted,stopped,notStarted,ended,all (default=all)
Get a list of campaigns Details on param options can be found at https : // developer . foursquare . com / docs / campaigns / list