Class: WSDL::SOAP::Operation
Defined Under Namespace
Classes: ParamInfo
Instance Attribute Summary collapse
-
#soapaction ⇒ Object
readonly
Returns the value of attribute soapaction.
-
#style ⇒ Object
readonly
Returns the value of attribute style.
Attributes inherited from Info
Instance Method Summary collapse
-
#initialize ⇒ Operation
constructor
A new instance of Operation.
- #operation_style ⇒ Object
- #parse_attr(attr, value) ⇒ Object
- #parse_element(element) ⇒ Object
Methods inherited from Info
Constructor Details
#initialize ⇒ Operation
Returns a new instance of Operation.
44 45 46 47 48 |
# File 'lib/wsdl/soap/operation.rb', line 44 def initialize super @soapaction = nil @style = nil end |
Instance Attribute Details
#soapaction ⇒ Object (readonly)
Returns the value of attribute soapaction.
41 42 43 |
# File 'lib/wsdl/soap/operation.rb', line 41 def soapaction @soapaction end |
#style ⇒ Object (readonly)
Returns the value of attribute style.
42 43 44 |
# File 'lib/wsdl/soap/operation.rb', line 42 def style @style end |
Instance Method Details
#operation_style ⇒ Object
70 71 72 73 74 75 76 |
# File 'lib/wsdl/soap/operation.rb', line 70 def operation_style return @style if @style if parent_binding.soapbinding return parent_binding.soapbinding.style end nil end |
#parse_attr(attr, value) ⇒ Object
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 |
# File 'lib/wsdl/soap/operation.rb', line 54 def parse_attr(attr, value) case attr when StyleAttrName if ["document", "rpc"].include?(value.source) @style = value.source.intern else raise Parser::AttributeConstraintError.new( "Unexpected value #{ value }.") end when SOAPActionAttrName @soapaction = value.source else nil end end |
#parse_element(element) ⇒ Object
50 51 52 |
# File 'lib/wsdl/soap/operation.rb', line 50 def parse_element(element) nil end |