Class: Payment::StrategyResolver::ReauthResult

Inherits:
Data
  • Object
show all
Defined in:
app/services/payment/strategy_resolver.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#reasonObject (readonly)

Returns the value of attribute reason

Returns:

  • (Object)

    the current value of reason



15
16
17
# File 'app/services/payment/strategy_resolver.rb', line 15

def reason
  @reason
end

#reauth_neededObject (readonly)

Returns the value of attribute reauth_needed

Returns:

  • (Object)

    the current value of reauth_needed



15
16
17
# File 'app/services/payment/strategy_resolver.rb', line 15

def reauth_needed
  @reauth_needed
end