Class: FattureInCloud_Ruby_Sdk::OAuth2AuthorizationCodeParams
- Inherits:
-
Object
- Object
- FattureInCloud_Ruby_Sdk::OAuth2AuthorizationCodeParams
- Defined in:
- lib/fattureincloud_ruby_sdk/oauth2/oauth2.rb
Overview
The Oauth2AuthorizationCodeParams class is used to manage the OAuth2 redirect url query parameters.
Instance Attribute Summary collapse
-
#authorization_code ⇒ Object
Returns the value of attribute authorization_code.
-
#state ⇒ Object
Returns the value of attribute state.
Instance Method Summary collapse
-
#initialize(authorization_code, state) ⇒ OAuth2AuthorizationCodeParams
constructor
Initializes a new instance of the OAuth2AuthorizationCodeParams class.
Constructor Details
#initialize(authorization_code, state) ⇒ OAuth2AuthorizationCodeParams
Initializes a new instance of the OAuth2AuthorizationCodeParams class.
185 186 187 188 |
# File 'lib/fattureincloud_ruby_sdk/oauth2/oauth2.rb', line 185 def initialize(, state) @authorization_code = @state = state end |
Instance Attribute Details
#authorization_code ⇒ Object
Returns the value of attribute authorization_code.
180 181 182 |
# File 'lib/fattureincloud_ruby_sdk/oauth2/oauth2.rb', line 180 def @authorization_code end |
#state ⇒ Object
Returns the value of attribute state.
180 181 182 |
# File 'lib/fattureincloud_ruby_sdk/oauth2/oauth2.rb', line 180 def state @state end |