Class: Opsgenie::Config
- Inherits:
-
Object
- Object
- Opsgenie::Config
- Defined in:
- lib/opsgenie/config.rb
Class Attribute Summary collapse
-
.opsgenie_api_key ⇒ Object
readonly
Returns the value of attribute opsgenie_api_key.
Class Method Summary collapse
Class Attribute Details
.opsgenie_api_key ⇒ Object (readonly)
Returns the value of attribute opsgenie_api_key.
4 5 6 |
# File 'lib/opsgenie/config.rb', line 4 def opsgenie_api_key @opsgenie_api_key end |
Class Method Details
.configure(opsgenie_api_key) ⇒ Object
6 7 8 9 |
# File 'lib/opsgenie/config.rb', line 6 def configure(opsgenie_api_key) @opsgenie_api_key = opsgenie_api_key self end |