Class: Xcflushd::Authorizer::ThreeScaleInternalError

Inherits:
Flusher::XcflushdError
  • Object
show all
Defined in:
lib/xcflushd/authorizer.rb

Overview

Exception raised when the 3scale client is called with the right params but it returns a ServerError. Most of the time this means that 3scale is unreachable.

Instance Method Summary collapse

Constructor Details

#initialize(service_id, credentials) ⇒ ThreeScaleInternalError

Returns a new instance of ThreeScaleInternalError.



10
11
12
13
# File 'lib/xcflushd/authorizer.rb', line 10

def initialize(service_id, credentials)
  super("Error renewing auths of service with ID #{service_id} "\
        "and credentials #{credentials}. 3scale is unreachable")
end