Class: AppfluxRuby::BugfluxConfig

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(config = Hash.new) ⇒ BugfluxConfig

Returns a new instance of BugfluxConfig.



24
25
26
# File 'lib/appflux_ruby/bugflux_config.rb', line 24

def initialize config = Hash.new
  @host = host_name
end

Instance Attribute Details

#app_idID

This value must be set.

Returns:

  • (ID)

    Identify the application where to send the notification.



13
14
15
# File 'lib/appflux_ruby/bugflux_config.rb', line 13

def app_id
  @app_id
end

#hostString (readonly)

Returns the host, which provides the API endpoint to which exceptions should be sent.

Returns:

  • (String)

    the host, which provides the API endpoint to which exceptions should be sent



22
23
24
# File 'lib/appflux_ruby/bugflux_config.rb', line 22

def host
  @host
end

#ignored_environmentsID

This value must be set.

Returns:

  • (ID)

    Identify the application where to send the notification.



13
14
15
# File 'lib/appflux_ruby/bugflux_config.rb', line 13

def ignored_environments
  @ignored_environments
end

Instance Method Details

#use_sslBoolean

Returns , Whether we are using secure connection or not.

Returns:

  • (Boolean)

    , Whether we are using secure connection or not.



30
31
32
# File 'lib/appflux_ruby/bugflux_config.rb', line 30

def use_ssl
  false
end