class Redmine::Reporting::Configuration
Attributes
api_key[RW]
base_url[RW]
category[RW]
http_options[R]
project[RW]
tracker[RW]
Public Instance Methods
proxy(hostname, port)
click to toggle source
# File lib/redmine/reporting/configuration.rb, line 11 def proxy(hostname, port) @http_options ||= {} @http_options[:http_proxyaddr] = hostname @http_options[:http_proxyport] = port end
proxy_auth(username, password)
click to toggle source
# File lib/redmine/reporting/configuration.rb, line 17 def proxy_auth(username, password) @http_options ||= {} @http_options[:http_proxyuser] = username @http_options[:http_proxypass] = password end
to_hash()
click to toggle source
# File lib/redmine/reporting/configuration.rb, line 23 def to_hash { base_url: self.base_url, api_key: self.api_key, project: self.project, tracker: self.tracker, category: self.category, http_options: self.http_options } end
Also aliased as: to_h