Class: Firebell::Configuration
- Inherits:
-
Object
- Object
- Firebell::Configuration
- Defined in:
- lib/firebell.rb
Instance Attribute Summary collapse
- #host ⇒ Object
- #notify_release_stages ⇒ Object
-
#release_stage ⇒ Object
Returns the value of attribute release_stage.
-
#token ⇒ Object
Returns the value of attribute token.
- #url ⇒ Object
Instance Method Summary collapse
Instance Attribute Details
#host ⇒ Object
19 20 21 |
# File 'lib/firebell.rb', line 19 def host @host ||= "https://firebellapp.com" end |
#notify_release_stages ⇒ Object
31 32 33 |
# File 'lib/firebell.rb', line 31 def notify_release_stages @notify_release_stages ||= [] end |
#release_stage ⇒ Object
Returns the value of attribute release_stage.
17 18 19 |
# File 'lib/firebell.rb', line 17 def release_stage @release_stage end |
#token ⇒ Object
Returns the value of attribute token.
17 18 19 |
# File 'lib/firebell.rb', line 17 def token @token end |
#url ⇒ Object
27 28 29 |
# File 'lib/firebell.rb', line 27 def url @url ||= "#{host}#{path}" end |
Instance Method Details
#path ⇒ Object
23 24 25 |
# File 'lib/firebell.rb', line 23 def path @path ||= "/api/v1/events" end |