Exception: ThreeScale::Backend::TransactionTimestampTooNew

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) ⇒ 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