Module: Garrison::Api
- Defined in:
- lib/garrison/api.rb,
lib/garrison/api/run.rb,
lib/garrison/api/alert.rb,
lib/garrison/api/version.rb
Defined Under Namespace
Classes: Alert, Configuration, Run
Constant Summary collapse
- VERSION =
"2.0.0"
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
11 12 13 |
# File 'lib/garrison/api.rb', line 11 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
14 15 16 17 |
# File 'lib/garrison/api.rb', line 14 def self.configure self.configuration ||= Configuration.new yield(configuration) end |