Exception: ErpIntegration::Fulfil::Resources::SalesOrder::MissingIdempotencyKey

Inherits:
Error
  • Object
show all
Defined in:
lib/erp_integration/fulfil/resources/sales_order.rb

Instance Method Summary collapse

Constructor Details

#initializeMissingIdempotencyKey

Returns a new instance of MissingIdempotencyKey.



12
13
14
15
16
17
18
# File 'lib/erp_integration/fulfil/resources/sales_order.rb', line 12

def initialize
  super(
    '[ERP Integration] Missing the required reference attribute. ' \
      'Setting the reference prevents Fulfil from processing the same sales ' \
      "order twice. For this reason, it's required to provide it as a safeguard."
  )
end