Permalink
Browse files

adds method to user

  • Loading branch information...
andrewpbrett committed Jul 17, 2012
1 parent fa0427b commit 1fe9b772dfe830953ce53973bb48169cf8b35d72
Showing with 15 additions and 2 deletions.
  1. +1 −1 .gitignore
  2. +10 −1 health_graph.gemspec
  3. +4 −0 lib/health_graph/models/user.rb
View
@@ -1,5 +1,5 @@
Gemfile.lock
-
+health-graph-*.gem
# rcov generated
coverage
View
@@ -5,7 +5,7 @@
Gem::Specification.new do |s|
s.name = "health_graph"
- s.version = "0.5.6"
+ s.version = "0.6.0"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Kenny Ma"]
@@ -81,6 +81,9 @@ Gem::Specification.new do |s|
s.add_development_dependency(%q<shoulda>, [">= 0"])
s.add_development_dependency(%q<simplecov>, [">= 0"])
s.add_development_dependency(%q<jeweler>, [">= 0"])
+ s.add_development_dependency(%q<shoulda>, [">= 0"])
+ s.add_development_dependency(%q<simplecov>, [">= 0"])
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
s.add_runtime_dependency(%q<oauth2>, [">= 0.5.2"])
s.add_runtime_dependency(%q<faraday>, [">= 0.7.4"])
s.add_runtime_dependency(%q<faraday_middleware>, [">= 0.7.8"])
@@ -100,6 +103,9 @@ Gem::Specification.new do |s|
s.add_dependency(%q<shoulda>, [">= 0"])
s.add_dependency(%q<simplecov>, [">= 0"])
s.add_dependency(%q<jeweler>, [">= 0"])
+ s.add_dependency(%q<shoulda>, [">= 0"])
+ s.add_dependency(%q<simplecov>, [">= 0"])
+ s.add_dependency(%q<jeweler>, [">= 0"])
s.add_dependency(%q<oauth2>, [">= 0.5.2"])
s.add_dependency(%q<faraday>, [">= 0.7.4"])
s.add_dependency(%q<faraday_middleware>, [">= 0.7.8"])
@@ -120,6 +126,9 @@ Gem::Specification.new do |s|
s.add_dependency(%q<shoulda>, [">= 0"])
s.add_dependency(%q<simplecov>, [">= 0"])
s.add_dependency(%q<jeweler>, [">= 0"])
+ s.add_dependency(%q<shoulda>, [">= 0"])
+ s.add_dependency(%q<simplecov>, [">= 0"])
+ s.add_dependency(%q<jeweler>, [">= 0"])
s.add_dependency(%q<oauth2>, [">= 0.5.2"])
s.add_dependency(%q<faraday>, [">= 0.7.4"])
s.add_dependency(%q<faraday_middleware>, [">= 0.7.8"])
@@ -15,6 +15,10 @@ def profile
HealthGraph::Profile.new self.access_token, self.body["profile"]
end
+ def settings
+ HealthGraph::Settings.new self.access_token, self.body["settings"]
+ end
+
def weight
HealthGraph::WeightFeed.new self.access_token, self.body["weight"]
end

0 comments on commit 1fe9b77

Please sign in to comment.