class UPnP::Service::Filter

Adds the s:encodingStyle to the SOAP envelope rs equired by UPnP

Public Instance Methods

on_outbound(envelope, opt) click to toggle source
# File lib/UPnP/service.rb, line 80
def on_outbound(envelope, opt)
  opt[:generate_explicit_type] = false
  envelope.extraattr['s:encodingStyle'] = SOAP::EncodingNamespace
  envelope
end