Class: MEACControl::XML::SetRequest
- Inherits:
-
AbstractRequest
- Object
- AbstractRequest
- MEACControl::XML::SetRequest
- Defined in:
- lib/meac_control/xml/set_request.rb
Instance Attribute Summary
Attributes inherited from AbstractRequest
Instance Method Summary collapse
-
#to_xml ⇒ Object
returns a xml set request.
Methods inherited from AbstractRequest
Constructor Details
This class inherits a constructor from MEACControl::XML::AbstractRequest
Instance Method Details
#to_xml ⇒ Object
returns a xml set request.
example:
req = MEACControl::XML::SetRequest.new(device, command)
req.to_xml # => "<?xml version="1.0" encoding="UTF-8"?>..."
11 12 13 |
# File 'lib/meac_control/xml/set_request.rb', line 11 def to_xml xml_template('setRequest', :set) end |