Sha256: fc1de9ebe1ab4a485aaf9fd89ea823e712bb89dd928f175324ed13ca692f6a6e

Contents?: true

Size: 264 Bytes

Versions: 4

Compression:

Stored size: 264 Bytes

Contents

module Iremix
  class Token
    attr_accessor :access_token

    def initialize(auth_code, client)
      @access_token = client.auth_code.get_token(auth_code,
                                                 :redirect_url => Iremix.callback_url)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
iremix-ruby-0.0.5 lib/iremix/token.rb
iremix-ruby-0.0.4 lib/iremix/token.rb
iremix-ruby-0.0.3 lib/iremix/token.rb
iremix-ruby-0.0.2 lib/iremix/token.rb