Class: FattureInCloud_Ruby_Sdk::OAuth2DeviceCodeResponse
- Inherits:
-
Object
- Object
- FattureInCloud_Ruby_Sdk::OAuth2DeviceCodeResponse
- Defined in:
- lib/fattureincloud_ruby_sdk/oauth2/oauth2.rb
Overview
The OAuth2DeviceCodeResponse class is used to manage the OAuth2 device code response.
Instance Attribute Summary collapse
-
#device_code ⇒ Object
Returns the value of attribute device_code.
-
#expires_in ⇒ Object
Returns the value of attribute expires_in.
-
#interval ⇒ Object
Returns the value of attribute interval.
-
#scope ⇒ Object
Returns the value of attribute scope.
-
#user_code ⇒ Object
Returns the value of attribute user_code.
-
#verification_uri ⇒ Object
Returns the value of attribute verification_uri.
Instance Method Summary collapse
-
#initialize(device_code, user_code, scope, verification_uri, interval, expires_in) ⇒ OAuth2DeviceCodeResponse
constructor
Initializes a new instance of the OAuth2TokenResponse class.
Constructor Details
#initialize(device_code, user_code, scope, verification_uri, interval, expires_in) ⇒ OAuth2DeviceCodeResponse
Initializes a new instance of the OAuth2TokenResponse class.
219 220 221 222 223 224 225 226 |
# File 'lib/fattureincloud_ruby_sdk/oauth2/oauth2.rb', line 219 def initialize(device_code, user_code, scope, verification_uri, interval, expires_in) @device_code = device_code @user_code = user_code @scope = scope @verification_uri = verification_uri @interval = interval @expires_in = expires_in end |
Instance Attribute Details
#device_code ⇒ Object
Returns the value of attribute device_code.
210 211 212 |
# File 'lib/fattureincloud_ruby_sdk/oauth2/oauth2.rb', line 210 def device_code @device_code end |
#expires_in ⇒ Object
Returns the value of attribute expires_in.
210 211 212 |
# File 'lib/fattureincloud_ruby_sdk/oauth2/oauth2.rb', line 210 def expires_in @expires_in end |
#interval ⇒ Object
Returns the value of attribute interval.
210 211 212 |
# File 'lib/fattureincloud_ruby_sdk/oauth2/oauth2.rb', line 210 def interval @interval end |
#scope ⇒ Object
Returns the value of attribute scope.
210 211 212 |
# File 'lib/fattureincloud_ruby_sdk/oauth2/oauth2.rb', line 210 def scope @scope end |
#user_code ⇒ Object
Returns the value of attribute user_code.
210 211 212 |
# File 'lib/fattureincloud_ruby_sdk/oauth2/oauth2.rb', line 210 def user_code @user_code end |
#verification_uri ⇒ Object
Returns the value of attribute verification_uri.
210 211 212 |
# File 'lib/fattureincloud_ruby_sdk/oauth2/oauth2.rb', line 210 def verification_uri @verification_uri end |