Class: SolidusBolt::Transactions::DetailService
- Inherits:
-
BaseService
- Object
- BaseService
- BaseService
- SolidusBolt::Transactions::DetailService
- Defined in:
- app/services/solidus_bolt/transactions/detail_service.rb
Instance Attribute Summary collapse
-
#transaction_reference ⇒ Object
readonly
Returns the value of attribute transaction_reference.
Attributes inherited from BaseService
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(transaction_reference:, payment_method:) ⇒ DetailService
constructor
A new instance of DetailService.
Methods inherited from BaseService
Constructor Details
#initialize(transaction_reference:, payment_method:) ⇒ DetailService
Returns a new instance of DetailService.
8 9 10 11 |
# File 'app/services/solidus_bolt/transactions/detail_service.rb', line 8 def initialize(transaction_reference:, payment_method:) @transaction_reference = transaction_reference super end |
Instance Attribute Details
#transaction_reference ⇒ Object (readonly)
Returns the value of attribute transaction_reference.
6 7 8 |
# File 'app/services/solidus_bolt/transactions/detail_service.rb', line 6 def transaction_reference @transaction_reference end |
Instance Method Details
#call ⇒ Object
13 14 15 |
# File 'app/services/solidus_bolt/transactions/detail_service.rb', line 13 def call detail end |