Class: ConnectWiseWebReports::Configuration
- Inherits:
-
Object
- Object
- ConnectWiseWebReports::Configuration
- Defined in:
- lib/connect_wise_web_reports/configuration.rb
Instance Attribute Summary collapse
-
#company_id ⇒ Object
Returns the value of attribute company_id.
-
#host ⇒ Object
Returns the value of attribute host.
-
#integrator_id ⇒ Object
Returns the value of attribute integrator_id.
-
#integrator_password ⇒ Object
Returns the value of attribute integrator_password.
-
#proxy_host ⇒ Object
Returns the value of attribute proxy_host.
-
#proxy_pass ⇒ Object
Returns the value of attribute proxy_pass.
-
#proxy_port ⇒ Object
Returns the value of attribute proxy_port.
-
#proxy_user ⇒ Object
Returns the value of attribute proxy_user.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
- #set(options = {}) ⇒ Object
Constructor Details
#initialize ⇒ Configuration
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_id ⇒ Object
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 |
#host ⇒ Object
Returns the value of attribute host.
16 17 18 |
# File 'lib/connect_wise_web_reports/configuration.rb', line 16 def host @host end |
#integrator_id ⇒ Object
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_password ⇒ Object
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_host ⇒ Object
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_pass ⇒ Object
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_port ⇒ Object
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_user ⇒ Object
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 |
#version ⇒ Object
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( = {}) .each { |k, v| self.send("#{k.to_s}=", v) } end |