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