Class: MonkeyNotification::Configuration

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

Overview

Used to set up and modify settings for the notifier.

Constant Summary collapse

OPTIONS =
[:api_url, :environment_name, :project_root, :framework, :proxy_host, :proxy_port, :proxy_user, :proxy_pass].freeze

Instance Attribute Summary collapse

Instance Attribute Details

#api_urlObject

The API url for your project, found on the project edit form.



8
9
10
# File 'lib/monkey_notification/configuration.rb', line 8

def api_url
  @api_url
end

#environment_nameObject

Returns the value of attribute environment_name.



10
11
12
# File 'lib/monkey_notification/configuration.rb', line 10

def environment_name
  @environment_name
end

#frameworkObject

Returns the value of attribute framework.



14
15
16
# File 'lib/monkey_notification/configuration.rb', line 14

def framework
  @framework
end

#project_rootObject

Returns the value of attribute project_root.



12
13
14
# File 'lib/monkey_notification/configuration.rb', line 12

def project_root
  @project_root
end

#proxy_hostObject

Returns the value of attribute proxy_host.



16
17
18
# File 'lib/monkey_notification/configuration.rb', line 16

def proxy_host
  @proxy_host
end

#proxy_passObject

Returns the value of attribute proxy_pass.



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

def proxy_pass
  @proxy_pass
end

#proxy_portObject

Returns the value of attribute proxy_port.



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

def proxy_port
  @proxy_port
end

#proxy_userObject

Returns the value of attribute proxy_user.



18
19
20
# File 'lib/monkey_notification/configuration.rb', line 18

def proxy_user
  @proxy_user
end