Class: AvalaraSdk::Auth::DeviceAuthorizationResponse
- Inherits:
-
Object
- Object
- AvalaraSdk::Auth::DeviceAuthorizationResponse
- Defined in:
- lib/avalara_sdk/auth/device_authorization_response.rb
Instance Attribute Summary collapse
-
#device_code ⇒ Object
Returns the value of attribute device_code.
-
#expiry ⇒ Object
Returns the value of attribute expiry.
-
#interval ⇒ Object
Returns the value of attribute interval.
-
#user_code ⇒ Object
Returns the value of attribute user_code.
-
#verification_url ⇒ Object
Returns the value of attribute verification_url.
-
#verification_url_complete ⇒ Object
Returns the value of attribute verification_url_complete.
Instance Method Summary collapse
-
#initialize(device_code, user_code, verification_url, verification_url_complete, expiry, interval) ⇒ DeviceAuthorizationResponse
constructor
A new instance of DeviceAuthorizationResponse.
Constructor Details
#initialize(device_code, user_code, verification_url, verification_url_complete, expiry, interval) ⇒ DeviceAuthorizationResponse
Returns a new instance of DeviceAuthorizationResponse.
10 11 12 13 14 15 16 17 |
# File 'lib/avalara_sdk/auth/device_authorization_response.rb', line 10 def initialize(device_code, user_code, verification_url, verification_url_complete, expiry, interval) @device_code = device_code @user_code = user_code @verification_url = verification_url @verification_url_complete = verification_url_complete @expiry = expiry @interval = interval end |
Instance Attribute Details
#device_code ⇒ Object
Returns the value of attribute device_code.
3 4 5 |
# File 'lib/avalara_sdk/auth/device_authorization_response.rb', line 3 def device_code @device_code end |
#expiry ⇒ Object
Returns the value of attribute expiry.
8 9 10 |
# File 'lib/avalara_sdk/auth/device_authorization_response.rb', line 8 def expiry @expiry end |
#interval ⇒ Object
Returns the value of attribute interval.
7 8 9 |
# File 'lib/avalara_sdk/auth/device_authorization_response.rb', line 7 def interval @interval end |
#user_code ⇒ Object
Returns the value of attribute user_code.
4 5 6 |
# File 'lib/avalara_sdk/auth/device_authorization_response.rb', line 4 def user_code @user_code end |
#verification_url ⇒ Object
Returns the value of attribute verification_url.
5 6 7 |
# File 'lib/avalara_sdk/auth/device_authorization_response.rb', line 5 def verification_url @verification_url end |
#verification_url_complete ⇒ Object
Returns the value of attribute verification_url_complete.
6 7 8 |
# File 'lib/avalara_sdk/auth/device_authorization_response.rb', line 6 def verification_url_complete @verification_url_complete end |