Class: SolidusBolt::Transactions::BaseService

Inherits:
BaseService
  • Object
show all
Defined in:
app/services/solidus_bolt/transactions/base_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from BaseService

#call, call

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_methodObject (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