Class: SolidusBolt::Transactions::BaseService
- Inherits:
-
BaseService
- Object
- BaseService
- SolidusBolt::Transactions::BaseService
- Defined in:
- app/services/solidus_bolt/transactions/base_service.rb
Direct Known Subclasses
AuthorizeService, CaptureService, DetailService, RefundService, VoidService
Instance Attribute Summary collapse
-
#payment_method ⇒ Object
readonly
Returns the value of attribute payment_method.
Instance Method Summary collapse
-
#initialize(payment_method:, **args) ⇒ BaseService
constructor
A new instance of BaseService.
Methods inherited from BaseService
Constructor Details
#initialize(payment_method:, **args) ⇒ BaseService
Returns a new instance of BaseService.
8 9 10 11 |
# File 'app/services/solidus_bolt/transactions/base_service.rb', line 8 def initialize(payment_method:, **args) @payment_method = payment_method super end |
Instance Attribute Details
#payment_method ⇒ Object (readonly)
Returns the value of attribute payment_method.
6 7 8 |
# File 'app/services/solidus_bolt/transactions/base_service.rb', line 6 def payment_method @payment_method end |