class AppfluxRuby::BugfluxConfig

Attributes

app_id[RW]

@return [ID] Identify the application where to send the notification. This value must be set.

host[R]

@return [String] the host, which provides the API endpoint to which

exceptions should be sent
ignored_environments[RW]

@return [ID] Identify the application where to send the notification. This value must be set.

Public Class Methods

new(config = Hash.new) click to toggle source
# File lib/appflux_ruby/bugflux_config.rb, line 24
def initialize config = Hash.new
  @host = host_name
end

Public Instance Methods

use_ssl() click to toggle source

@return [Boolean], Whether we are using secure connection or not.

# File lib/appflux_ruby/bugflux_config.rb, line 30
def use_ssl
  false
end

Private Instance Methods

host_name() click to toggle source

This is the URL to API that accepts notifications generated by this gem. Should be something like: /applications/<app_id>/notifications [POST]

# File lib/appflux_ruby/bugflux_config.rb, line 38
def host_name
  'http://appflux.io/exceptions'
end