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.
16 |
# File 'app/services/payment/strategy_resolver.rb', line 16 def initialize(reauth_needed:, reason: nil) = super |
Instance Attribute Details
#reason ⇒ Object (readonly)
Returns the value of attribute reason
15 16 17 |
# File 'app/services/payment/strategy_resolver.rb', line 15 def reason @reason end |
#reauth_needed ⇒ Object (readonly)
Returns the value of attribute reauth_needed
15 16 17 |
# File 'app/services/payment/strategy_resolver.rb', line 15 def reauth_needed @reauth_needed end |