Class: Gringotts::DeliveryStrategies::TestStubStrategy

Inherits:
BaseDeliveryStrategy show all
Defined in:
app/models/gringotts/delivery_strategies/test_stub_strategy.rb

Instance Method Summary collapse

Constructor Details

#initialize(delivery) ⇒ TestStubStrategy

Returns a new instance of TestStubStrategy.


4
5
6
# File 'app/models/gringotts/delivery_strategies/test_stub_strategy.rb', line 4

def initialize(delivery)
  super(delivery)
end

Instance Method Details

#deliver!Object


8
9
10
11
# File 'app/models/gringotts/delivery_strategies/test_stub_strategy.rb', line 8

def deliver!
  # don't actually do anything ...
  return true
end