Exception: ThreeScale::Backend::TransactionTimestampTooNew
- Inherits:
-
TransactionTimestampNotWithinRange
- Object
- RuntimeError
- Error
- TransactionTimestampNotWithinRange
- ThreeScale::Backend::TransactionTimestampTooNew
- Defined in:
- lib/3scale/backend/errors.rb
Instance Method Summary collapse
-
#initialize(max_seconds) ⇒ TransactionTimestampTooNew
constructor
A new instance of TransactionTimestampTooNew.
Methods inherited from Error
#code, code, #http_code, #to_xml, underscore
Constructor Details
#initialize(max_seconds) ⇒ TransactionTimestampTooNew
Returns a new instance of TransactionTimestampTooNew.
178 179 180 |
# File 'lib/3scale/backend/errors.rb', line 178 def initialize(max_seconds) super %(reporting transactions more than #{max_seconds} seconds in the future is not allowed) end |