Class: SolidusSubscriptions::Dispatcher::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/solidus_subscriptions/dispatcher/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(installment, order) ⇒ Base

Returns a new instance of Base.



8
9
10
11
# File 'lib/solidus_subscriptions/dispatcher/base.rb', line 8

def initialize(installment, order)
  @installment = installment
  @order = order
end

Instance Attribute Details

#installmentObject (readonly)

Returns the value of attribute installment.



6
7
8
# File 'lib/solidus_subscriptions/dispatcher/base.rb', line 6

def installment
  @installment
end

#orderObject (readonly)

Returns the value of attribute order.



6
7
8
# File 'lib/solidus_subscriptions/dispatcher/base.rb', line 6

def order
  @order
end

Instance Method Details

#dispatchObject

Raises:

  • (NotImplementedError)


13
14
15
# File 'lib/solidus_subscriptions/dispatcher/base.rb', line 13

def dispatch
  raise NotImplementedError
end