lib/iremix/user.rb in iremix-ruby-0.0.3 vs lib/iremix/user.rb in iremix-ruby-0.0.4
- old
+ new
@@ -1,10 +1,10 @@
module Iremix
class User
class << self
def current(token)
response = token.get('/api/v1/people/current.json',
- :params => { :access_token => token.access_token })
+ :params => { :access_token => token.token })
response.parsed
end
end
end