Class: BabyTooth::FitnessActivityFeed

Inherits:
Client
  • Object
show all
Defined in:
lib/baby_tooth/fitness_activity_feed.rb

Instance Attribute Summary

Attributes inherited from Client

#access_token, #path

Instance Method Summary collapse

Methods inherited from Client

#[], #body, exposes_keys, #initialize, #resource_class_name

Constructor Details

This class inherits a constructor from BabyTooth::Client

Instance Method Details

#fitness_activitiesObject



5
6
7
8
9
# File 'lib/baby_tooth/fitness_activity_feed.rb', line 5

def fitness_activities
  items.map do |item|
    FitnessActivity.new access_token, item['uri']
  end
end