Sha256: 7280dfec6c7f0a1a71de800502d4397dfd79e96e785dce24cd0c069ab7587b5c

Contents?: true

Size: 396 Bytes

Versions: 5

Compression:

Stored size: 396 Bytes

Contents

module Rbox
  module Response
    class AuthToken
      include Base

      def initialize(*arg)
        super(*arg)
        @client.auth_token = auth_token
      end

      def auth_token
        @body_response['auth_token']
      end

      def user
        @body_response['user']
      end

      def attributes
        { :user => user, :auth_token => auth_token }
      end

    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rbox-0.1.4 lib/rbox/response/authentication/auth_token.rb
rbox-0.1.3 lib/rbox/response/authentication/auth_token.rb
rbox-0.1.2 lib/rbox/response/authentication/auth_token.rb
rbox-0.1.1 lib/rbox/response/authentication/auth_token.rb
rbox-0.1.0 lib/rbox/response/authentication/auth_token.rb