Exception: ThreeScale::Backend::TransactionTimestampTooOld

Inherits:
TransactionTimestampNotWithinRange show all
Defined in:
lib/3scale/backend/errors.rb

Instance Method Summary collapse

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