Method: Webhookdb::Idempotency::Builder#stored

Defined in:
lib/webhookdb/idempotency.rb

#storedBuilder

If set, the result of block is stored as JSON, and returned when an idempotent call is made. The JSON value (as_json) is returned from the block in all cases.

Returns:



76
77
78
79
# File 'lib/webhookdb/idempotency.rb', line 76

def stored
  self._stored = true
  return self
end