Class: Payment::StrategyResolver::ReauthResult
- Inherits:
-
Data
- Object
- Data
- Payment::StrategyResolver::ReauthResult
- Defined in:
- app/services/payment/strategy_resolver.rb
Instance Attribute Summary collapse
-
#reason ⇒ Object
readonly
Returns the value of attribute reason.
-
#reauth_needed ⇒ Object
readonly
Returns the value of attribute reauth_needed.
Instance Method Summary collapse
-
#initialize(reauth_needed:, reason: nil) ⇒ ReauthResult
constructor
A new instance of ReauthResult.
Constructor Details
#initialize(reauth_needed:, reason: nil) ⇒ ReauthResult
Returns a new instance of ReauthResult.
21 |
# File 'app/services/payment/strategy_resolver.rb', line 21 def initialize(reauth_needed:, reason: nil) = super |
Instance Attribute Details
#reason ⇒ Object (readonly)
Returns the value of attribute reason
20 21 22 |
# File 'app/services/payment/strategy_resolver.rb', line 20 def reason @reason end |
#reauth_needed ⇒ Object (readonly)
Returns the value of attribute reauth_needed
20 21 22 |
# File 'app/services/payment/strategy_resolver.rb', line 20 def reauth_needed @reauth_needed end |