Class: AvalaraSdk::TokenMetadata
- Inherits:
-
Object
- Object
- AvalaraSdk::TokenMetadata
- Defined in:
- lib/avalara_sdk/token_metadata.rb
Instance Attribute Summary collapse
-
#access_token ⇒ Object
Returns the value of attribute access_token.
-
#expiry ⇒ Object
Returns the value of attribute expiry.
Instance Method Summary collapse
-
#initialize(access_token, expiry_time) ⇒ TokenMetadata
constructor
A new instance of TokenMetadata.
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_token ⇒ Object
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 |
#expiry ⇒ Object
Returns the value of attribute expiry.
4 5 6 |
# File 'lib/avalara_sdk/token_metadata.rb', line 4 def expiry @expiry end |