Sha256: 00cfadfd3cdbad01eecc4ac644dfc088865a5bc9dbd72a3b78a548893d5efea2

Contents?: true

Size: 398 Bytes

Versions: 1

Compression:

Stored size: 398 Bytes

Contents

require 'meac_control/xml/abstract_request'

module MEACControl
  module XML
    class GetRequest < AbstractRequest
      # returns a xml get request.
      #
      # example:
      #   req = MEACControl::XML::GetRequest.new(device, command)
      #   req.to_xml # => "<?xml version="1.0" encoding="UTF-8"?>..."
      def to_xml
        xml_template('getRequest', :get)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
meac_control-1.0.0 lib/meac_control/xml/get_request.rb