Class: Playapi::Foursquare

Inherits:
Feature show all
Defined in:
lib/playapi/foursquare.rb

Instance Attribute Summary collapse

Attributes inherited from Feature

#attrs, #campaign_id, #default_points, #id, #live, #name

Instance Method Summary collapse

Methods inherited from Feature

#campaign, create, #destroy, destroy, find_by_facet, get, #interactions, list, #push, update

Methods included from Utils

hi

Methods inherited from Identity

#==, fetch, #id, #initialize, store

Methods inherited from Base

#[], attr_reader, #attrs, fetch, fetch_or_new, from_response, identity_map, #initialize, store, #update

Constructor Details

This class inherits a constructor from Playapi::Identity

Instance Attribute Details

#authenticated_venuesObject

Returns the value of attribute authenticated_venues.



3
4
5
# File 'lib/playapi/foursquare.rb', line 3

def authenticated_venues
  @authenticated_venues
end

#client_idObject

Returns the value of attribute client_id.



3
4
5
# File 'lib/playapi/foursquare.rb', line 3

def client_id
  @client_id
end

#client_secretObject

Returns the value of attribute client_secret.



3
4
5
# File 'lib/playapi/foursquare.rb', line 3

def client_secret
  @client_secret
end

#oauth_tokenObject

Returns the value of attribute oauth_token.



3
4
5
# File 'lib/playapi/foursquare.rb', line 3

def oauth_token
  @oauth_token
end

#push_secretObject

Returns the value of attribute push_secret.



3
4
5
# File 'lib/playapi/foursquare.rb', line 3

def push_secret
  @push_secret
end

Instance Method Details

#near(coords) ⇒ Object



5
6
7
# File 'lib/playapi/foursquare.rb', line 5

def near(coords)
	#This would be a nice function, no? Shall I add an endpoint just for location items?
end