Class: HealthGraph::FitnessActivitiesFeed::Item

Inherits:
Object
  • Object
show all
Includes:
Model
Defined in:
lib/health_graph/models/fitness_activities_feed.rb

Instance Attribute Summary

Attributes included from Model

#body

Attributes included from API

#access_token

Instance Method Summary collapse

Methods included from Model

included, #populate_from_hash!

Methods included from API

#delete, #get, #post, #put

Constructor Details

#initialize(hash) ⇒ Item

Returns a new instance of Item.



12
13
14
# File 'lib/health_graph/models/fitness_activities_feed.rb', line 12

def initialize(hash) 
  populate_from_hash! hash
end