Class: FatSecret::Client
- Inherits:
-
Oauth::Client
- Object
- Oauth::Client
- FatSecret::Client
- Defined in:
- lib/fatsecret/client.rb
Constant Summary
Constants inherited from Oauth::Client
Oauth::Client::OAUTH_SIGNATURE_METHOD, Oauth::Client::OAUTH_VERSION
Instance Attribute Summary
Attributes inherited from Oauth::Client
Instance Method Summary collapse
Methods inherited from Oauth::Client
Constructor Details
This class inherits a constructor from Oauth::Client
Instance Method Details
#create_profile(id = nil) ⇒ Object
10 11 12 |
# File 'lib/fatsecret/client.rb', line 10 def create_profile(id = nil) get({ :method => 'profile.create', :user_id => id }) end |
#find_food_by_id(id) ⇒ Object
6 7 8 |
# File 'lib/fatsecret/client.rb', line 6 def find_food_by_id(id) get({ :method => 'food.get', :food_id => id }) end |