Sha256: bde46f5cbbb9613047699ba7157ba92e0c008cff63c4d3b46e039cf60400a0c7

Contents?: true

Size: 264 Bytes

Versions: 2

Compression:

Stored size: 264 Bytes

Contents

module Iremix
  class User
    class << self
      def current(token)
        response = token.get('/api/v1/people/current.json',
                             :params => { :access_token => token.access_token })

        response.parsed
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
iremix-ruby-0.0.3 lib/iremix/user.rb
iremix-ruby-0.0.2 lib/iremix/user.rb