Class: Exchanger::GetUserConfiguration::Request
- Inherits:
-
Operation::Request
- Object
- Operation::Request
- Exchanger::GetUserConfiguration::Request
- Defined in:
- lib/exchanger/operations/get_user_configuration.rb
Instance Attribute Summary collapse
-
#folder_id ⇒ Object
Returns the value of attribute folder_id.
-
#user_configuration_name ⇒ Object
Returns the value of attribute user_configuration_name.
Attributes inherited from Operation::Request
Instance Method Summary collapse
Methods inherited from Operation::Request
#action, #headers, #initialize, #reset
Constructor Details
This class inherits a constructor from Exchanger::Operation::Request
Instance Attribute Details
#folder_id ⇒ Object
Returns the value of attribute folder_id.
7 8 9 |
# File 'lib/exchanger/operations/get_user_configuration.rb', line 7 def folder_id @folder_id end |
#user_configuration_name ⇒ Object
Returns the value of attribute user_configuration_name.
7 8 9 |
# File 'lib/exchanger/operations/get_user_configuration.rb', line 7 def user_configuration_name @user_configuration_name end |
Instance Method Details
#to_xml ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/exchanger/operations/get_user_configuration.rb', line 9 def to_xml Nokogiri::XML::Builder.new do |xml| xml.send("soap:Envelope", "xmlns:soap" => NS["soap"]) do xml.send("soap:Body") do xml.GetUserConfiguration("xmlns" => NS["m"], "xmlns:t" => NS["t"]) do xml.send("UserConfigurationName", "Name" => user_configuration_name) do xml.send("t:FolderId", "Id" => folder_id) end xml.send "UserConfigurationProperties", "All" end end end end end |