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