Module: Papercraft::Extensions::Soap
- Defined in:
- lib/papercraft/extensions/soap.rb
Instance Method Summary collapse
-
#Body(**props, &blk) ⇒ void
Emits a SOAP XML tag that contains header information.
-
#Envelope(**props, &block) ⇒ void
Emits a SOAP XML tag that identifies the XML document as a SOAP message.
-
#Fault(**props, &blk) ⇒ void
Emits a SOAP XML tag that contains errors and status information.
-
#Header(**props, &blk) ⇒ void
Emits a SOAP XML tag that contains header information.
Instance Method Details
#Body(**props, &blk) ⇒ void
This method returns an undefined value.
Emits a SOAP XML tag that contains header information.
27 28 29 |
# File 'lib/papercraft/extensions/soap.rb', line 27 def Body(**props, &blk) tag('soap:Body', **props, &blk) end |
#Envelope(**props, &block) ⇒ void
This method returns an undefined value.
Emits a SOAP XML tag that identifies the XML document as a SOAP message.
10 11 12 13 |
# File 'lib/papercraft/extensions/soap.rb', line 10 def Envelope(**props, &block) props[:xmlns__soap] ||= 'http://schemas.xmlsoap.org/soap/envelope/' tag('soap:Envelope', **props, &block) end |
#Fault(**props, &blk) ⇒ void
This method returns an undefined value.
Emits a SOAP XML tag that contains errors and status information.
35 36 37 |
# File 'lib/papercraft/extensions/soap.rb', line 35 def Fault(**props, &blk) tag('soap:Fault', **props, &blk) end |
#Header(**props, &blk) ⇒ void
This method returns an undefined value.
Emits a SOAP XML tag that contains header information.
19 20 21 |
# File 'lib/papercraft/extensions/soap.rb', line 19 def Header(**props, &blk) tag('soap:Header', **props, &blk) end |