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
17 18 19 |
# File 'lib/firebell.rb', line 17 def host @host ||= "https://firebellapp.com" end |
#notify_release_stages ⇒ Object
29 30 31 |
# File 'lib/firebell.rb', line 29 def notify_release_stages @notify_release_stages ||= [] end |
#release_stage ⇒ Object
Returns the value of attribute release_stage.
15 16 17 |
# File 'lib/firebell.rb', line 15 def release_stage @release_stage end |
#token ⇒ Object
Returns the value of attribute token.
15 16 17 |
# File 'lib/firebell.rb', line 15 def token @token end |
#url ⇒ Object
25 26 27 |
# File 'lib/firebell.rb', line 25 def url @url ||= "#{host}#{path}" end |
Instance Method Details
#path ⇒ Object
21 22 23 |
# File 'lib/firebell.rb', line 21 def path @path ||= "/api/v1/events" end |