Class: Playapi::Foursquare
- Defined in:
- lib/playapi/foursquare.rb
Instance Attribute Summary collapse
-
#authenticated_venues ⇒ Object
Returns the value of attribute authenticated_venues.
-
#client_id ⇒ Object
Returns the value of attribute client_id.
-
#client_secret ⇒ Object
Returns the value of attribute client_secret.
-
#oauth_token ⇒ Object
Returns the value of attribute oauth_token.
-
#push_secret ⇒ Object
Returns the value of attribute push_secret.
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
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_venues ⇒ Object
Returns the value of attribute authenticated_venues.
3 4 5 |
# File 'lib/playapi/foursquare.rb', line 3 def authenticated_venues @authenticated_venues end |
#client_id ⇒ Object
Returns the value of attribute client_id.
3 4 5 |
# File 'lib/playapi/foursquare.rb', line 3 def client_id @client_id end |
#client_secret ⇒ Object
Returns the value of attribute client_secret.
3 4 5 |
# File 'lib/playapi/foursquare.rb', line 3 def client_secret @client_secret end |
#oauth_token ⇒ Object
Returns the value of attribute oauth_token.
3 4 5 |
# File 'lib/playapi/foursquare.rb', line 3 def oauth_token @oauth_token end |
#push_secret ⇒ Object
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 |