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