Module: ThreeScale::Backend::Logging::External
- Defined in:
- lib/3scale/backend/logging/external.rb,
lib/3scale/backend/logging/external/impl.rb,
lib/3scale/backend/logging/external/resque.rb,
lib/3scale/backend/logging/external/impl/bugsnag.rb,
lib/3scale/backend/logging/external/impl/default.rb,
lib/3scale/backend/logging/external/impl/airbrake.rb
Defined Under Namespace
Class Method Summary collapse
Class Method Details
.reset ⇒ Object
29 30 31 |
# File 'lib/3scale/backend/logging/external.rb', line 29 def reset self.enabled = false end |
.setup ⇒ Object
17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/3scale/backend/logging/external.rb', line 17 def setup config = Backend.configuration.hoptoad service = if config.service && !config.service.empty? config.service.to_sym else :default end self.impl = Impl.load service self.enabled = impl.setup(config.api_key) end |