module Papercraft::Extensions::Soap

Public Instance Methods

Body(**props, &blk) click to toggle source

Emits a SOAP XML tag that contains header information.

@param **props [Hash] tag attributes @param &block [Proc] optional inner XML @return [void]

# File lib/papercraft/extensions/soap.rb, line 30
def Body(**props, &blk)
  tag('soap:Body', **props, &blk)
end
Envelope(**props, &block) click to toggle source

Emits a SOAP XML tag that identifies the XML document as a SOAP message.

@param **props [Hash] tag attributes @param &block [Proc] optional inner XML @return [void]

# File lib/papercraft/extensions/soap.rb, line 11
def Envelope(**props, &block)
  props[:xmlns__soap] ||= 'http://schemas.xmlsoap.org/soap/envelope/'
  tag('soap:Envelope', **props, &block)
end
Fault(**props, &blk) click to toggle source

Emits a SOAP XML tag that contains errors and status information.

@param **props [Hash] tag attributes @param &block [Proc] optional inner XML @return [void]

# File lib/papercraft/extensions/soap.rb, line 39
def Fault(**props, &blk)
  tag('soap:Fault', **props, &blk)
end
Header(**props, &blk) click to toggle source

Emits a SOAP XML tag that contains header information.

@param **props [Hash] tag attributes @param &block [Proc] optional inner XML @return [void]

# File lib/papercraft/extensions/soap.rb, line 21
def Header(**props, &blk)
  tag('soap:Header', **props, &blk)
end