Class: Gringotts::DeliveryStrategies::ErrorRaisingStrategy

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

Instance Method Summary collapse

Methods inherited from BaseDeliveryStrategy

#initialize

Constructor Details

This class inherits a constructor from Gringotts::DeliveryStrategies::BaseDeliveryStrategy

Instance Method Details

#deliver!Object


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

def deliver!
  raise "Error message from ErrorRaisingStrategy"
end