Class: AvalaraSdk::TokenMetadata

Inherits:
Object
  • Object
show all
Defined in:
lib/avalara_sdk/token_metadata.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(access_token, expiry_time) ⇒ TokenMetadata

Returns a new instance of TokenMetadata.



6
7
8
9
# File 'lib/avalara_sdk/token_metadata.rb', line 6

def initialize(access_token, expiry_time)
  @access_token = access_token
  @expiry = expiry_time
end

Instance Attribute Details

#access_tokenObject

Returns the value of attribute access_token.



3
4
5
# File 'lib/avalara_sdk/token_metadata.rb', line 3

def access_token
  @access_token
end

#expiryObject

Returns the value of attribute expiry.



4
5
6
# File 'lib/avalara_sdk/token_metadata.rb', line 4

def expiry
  @expiry
end