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



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

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

#notify_release_stagesObject



29
30
31
# File 'lib/firebell.rb', line 29

def notify_release_stages
  @notify_release_stages ||= []
end

#release_stageObject

Returns the value of attribute release_stage.



15
16
17
# File 'lib/firebell.rb', line 15

def release_stage
  @release_stage
end

#tokenObject

Returns the value of attribute token.



15
16
17
# File 'lib/firebell.rb', line 15

def token
  @token
end

#urlObject



25
26
27
# File 'lib/firebell.rb', line 25

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

Instance Method Details

#pathObject



21
22
23
# File 'lib/firebell.rb', line 21

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