Module: Spree::Api::V3::Idempotent

Extended by:
ActiveSupport::Concern
Included in:
BaseController
Defined in:
app/controllers/concerns/spree/api/v3/idempotent.rb

Constant Summary collapse

IDEMPOTENCY_TTL =
24.hours
IDEMPOTENCY_HEADER =
'Idempotency-Key'
MAX_KEY_LENGTH =
255
MUTATING_METHODS =
%w[POST PUT PATCH DELETE].freeze