Sha256: 69bba3658ef49f082afa326fd04e9335f4099b845bce9988f1fd162269ca534f

Contents?: true

Size: 257 Bytes

Versions: 1

Compression:

Stored size: 257 Bytes

Contents

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

        response.parsed
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
iremix-ruby-0.0.4 lib/iremix/user.rb