Class: HostConnect::GetSystemSettingsBuilder
- Inherits:
-
AbstractBuilder
- Object
- AbstractBuilder
- HostConnect::GetSystemSettingsBuilder
- Defined in:
- lib/hostconnect/builders/get_system_settings_builder.rb
Overview
The GetSystemSettings request returns information about the overall system settings.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ GetSystemSettingsBuilder
constructor
A new instance of GetSystemSettingsBuilder.
- #to_xml ⇒ Object
Methods inherited from AbstractBuilder
Constructor Details
#initialize(options = {}) ⇒ GetSystemSettingsBuilder
Returns a new instance of GetSystemSettingsBuilder.
5 6 7 8 |
# File 'lib/hostconnect/builders/get_system_settings_builder.rb', line 5 def initialize( = {}) @valid_options = [ :agent_id, :password ].freeze super() end |
Instance Method Details
#to_xml ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/hostconnect/builders/get_system_settings_builder.rb', line 10 def to_xml x = x.Request { x.GetSystemSettingsRequest { x.AgentID @agent_id; x.Password @password } } x end |