Class: MEACControl::XML::GetRequest
- Inherits:
-
AbstractRequest
- Object
- AbstractRequest
- MEACControl::XML::GetRequest
- Defined in:
- lib/meac_control/xml/get_request.rb
Instance Attribute Summary
Attributes inherited from AbstractRequest
Instance Method Summary collapse
-
#to_xml ⇒ Object
returns a xml get 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 get request.
example:
req = MEACControl::XML::GetRequest.new(device, command)
req.to_xml # => "<?xml version="1.0" encoding="UTF-8"?>..."
11 12 13 |
# File 'lib/meac_control/xml/get_request.rb', line 11 def to_xml xml_template('getRequest', :get) end |