Class: Firebell::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#hostObject



19
20
21
# File 'lib/firebell.rb', line 19

def host
  @host ||= "https://firebellapp.com"
end

#notify_release_stagesObject



31
32
33
# File 'lib/firebell.rb', line 31

def notify_release_stages
  @notify_release_stages ||= []
end

#release_stageObject

Returns the value of attribute release_stage.



17
18
19
# File 'lib/firebell.rb', line 17

def release_stage
  @release_stage
end

#tokenObject

Returns the value of attribute token.



17
18
19
# File 'lib/firebell.rb', line 17

def token
  @token
end

#urlObject



27
28
29
# File 'lib/firebell.rb', line 27

def url
  @url ||= "#{host}#{path}"
end

Instance Method Details

#pathObject



23
24
25
# File 'lib/firebell.rb', line 23

def path
  @path ||= "/api/v1/events"
end