Class: BabyTooth::User
Instance Attribute Summary
Attributes inherited from Client
Instance Method Summary collapse
- #fitness_activity_feed ⇒ Object
-
#initialize(access_token) ⇒ User
constructor
A new instance of User.
- #profile ⇒ Object
- #street_team ⇒ Object
Methods inherited from Client
#[], #body, exposes_keys, #resource_class_name
Constructor Details
#initialize(access_token) ⇒ User
Returns a new instance of User.
5 6 7 |
# File 'lib/baby_tooth/user.rb', line 5 def initialize(access_token) super access_token, '/user' end |
Instance Method Details
#fitness_activity_feed ⇒ Object
9 10 11 |
# File 'lib/baby_tooth/user.rb', line 9 def fitness_activity_feed @fitness_activity_feed ||= FitnessActivityFeed.new(access_token, fitness_activities) end |