Module: SupportOps::GitLab::Configuration
- Defined in:
- lib/support_ops_gitlab/gitlab/configuration.rb
Overview
Defines the module Configuration within the module SupportOps::GitLab.
Defined Under Namespace
Classes: Config
Class Method Summary collapse
- .config ⇒ Object
-
.configure(key: value) ⇒ Object
Setup a Zendesk client configuration.
- .reset! ⇒ Object
Class Method Details
.config ⇒ Object
38 39 40 |
# File 'lib/support_ops_gitlab/gitlab/configuration.rb', line 38 def self.config @config ||= Config.new end |
.configure(key: value) ⇒ Object
Setup a Zendesk client configuration
34 35 36 |
# File 'lib/support_ops_gitlab/gitlab/configuration.rb', line 34 def self.configure yield config end |
.reset! ⇒ Object
42 43 44 |
# File 'lib/support_ops_gitlab/gitlab/configuration.rb', line 42 def self.reset! @config = Config.new end |