Class: Opsgenie::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/opsgenie/config.rb

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.opsgenie_api_keyObject (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