Class: ConnectWiseWebReports::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



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

def initialize
  @version = 'v4_6_release'
end

Instance Attribute Details

#company_idObject

Returns the value of attribute company_id.



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

def company_id
  @company_id
end

#hostObject

Returns the value of attribute host.



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

def host
  @host
end

#integrator_idObject

Returns the value of attribute integrator_id.



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

def integrator_id
  @integrator_id
end

#integrator_passwordObject

Returns the value of attribute integrator_password.



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

def integrator_password
  @integrator_password
end

#proxy_hostObject

Returns the value of attribute proxy_host.



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

def proxy_host
  @proxy_host
end

#proxy_passObject

Returns the value of attribute proxy_pass.



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

def proxy_pass
  @proxy_pass
end

#proxy_portObject

Returns the value of attribute proxy_port.



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

def proxy_port
  @proxy_port
end

#proxy_userObject

Returns the value of attribute proxy_user.



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

def proxy_user
  @proxy_user
end

#versionObject

Returns the value of attribute version.



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

def version
  @version
end

Instance Method Details

#set(options = {}) ⇒ Object



23
24
25
# File 'lib/connect_wise_web_reports/configuration.rb', line 23

def set(options = {})
  options.each { |k, v| self.send("#{k.to_s}=", v) }
end