Class: Xcflushd::Reporter::ThreeScaleAuthError

Inherits:
ReporterError show all
Defined in:
lib/xcflushd/reporter.rb

Overview

Exception raised when the 3scale client made the call, but did not succeed. This happens when the credentials are invalid. For example, when an invalid provider key is used.

Instance Method Summary collapse

Constructor Details

#initialize(service_id, transaction) ⇒ ThreeScaleAuthError

Returns a new instance of ThreeScaleAuthError.



37
38
39
40
# File 'lib/xcflushd/reporter.rb', line 37

def initialize(service_id, transaction)
  super(service_id, transaction,
        'Invalid credentials. Check the provider key'.freeze)
end