Class: Messenger::Parameters::AccountLinking
- Inherits:
-
Object
- Object
- Messenger::Parameters::AccountLinking
- Includes:
- Callback
- Defined in:
- lib/messenger/parameters/account_linking.rb
Instance Attribute Summary collapse
-
#authorization_code ⇒ Object
Returns the value of attribute authorization_code.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status:, authorization_code: nil) ⇒ AccountLinking
constructor
A new instance of AccountLinking.
Methods included from Callback
Constructor Details
#initialize(status:, authorization_code: nil) ⇒ AccountLinking
Returns a new instance of AccountLinking.
8 9 10 11 |
# File 'lib/messenger/parameters/account_linking.rb', line 8 def initialize(status:, authorization_code: nil) @status = status @authorization_code = end |
Instance Attribute Details
#authorization_code ⇒ Object
Returns the value of attribute authorization_code.
6 7 8 |
# File 'lib/messenger/parameters/account_linking.rb', line 6 def @authorization_code end |
#status ⇒ Object
Returns the value of attribute status.
6 7 8 |
# File 'lib/messenger/parameters/account_linking.rb', line 6 def status @status end |