Class: Messenger::Parameters::AccountLinking

Inherits:
Object
  • Object
show all
Includes:
Callback
Defined in:
lib/messenger/parameters/account_linking.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Callback

#type

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 = authorization_code
end

Instance Attribute Details

#authorization_codeObject

Returns the value of attribute authorization_code.



6
7
8
# File 'lib/messenger/parameters/account_linking.rb', line 6

def authorization_code
  @authorization_code
end

#statusObject

Returns the value of attribute status.



6
7
8
# File 'lib/messenger/parameters/account_linking.rb', line 6

def status
  @status
end