Sha256: 7c48549f9012574d477e3dd5456792f76fdb8d9ad5f5b67f2a0f96f9717e701c

Contents?: true

Size: 208 Bytes

Versions: 6

Compression:

Stored size: 208 Bytes

Contents

module PayuAPI
  class AuthResponse < Response
    def success?
      http_success?
    end

    def auth_token
      body[:access_token]
    end

    def expires_in
      body[:expires_in]
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
payu_api-0.1.7 lib/payu_api/responses/auth_response.rb
payu_api-0.1.5 lib/payu_api/responses/auth_response.rb
payu_api-0.1.4 lib/payu_api/responses/auth_response.rb
payu_api-0.1.3 lib/payu_api/responses/auth_response.rb
payu_api-0.1.2 lib/payu_api/responses/auth_response.rb
payu_api-0.1.1 lib/payu_api/responses/auth_response.rb