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.
45 46 47 48 49 |
# File 'lib/wsdl/soap/operation.rb', line 45 def initialize super @soapaction = nil @style = nil end |
Instance Attribute Details
#soapaction ⇒ Object (readonly)
Returns the value of attribute soapaction.
42 43 44 |
# File 'lib/wsdl/soap/operation.rb', line 42 def soapaction @soapaction end |
#style ⇒ Object (readonly)
Returns the value of attribute style.
43 44 45 |
# File 'lib/wsdl/soap/operation.rb', line 43 def style @style end |
Instance Method Details
#operation_style ⇒ Object
71 72 73 74 75 76 77 |
# File 'lib/wsdl/soap/operation.rb', line 71 def operation_style return @style if @style if parent_binding.soapbinding return parent_binding.soapbinding.style end nil end |
#parse_attr(attr, value) ⇒ Object
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
# File 'lib/wsdl/soap/operation.rb', line 55 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
51 52 53 |
# File 'lib/wsdl/soap/operation.rb', line 51 def parse_element(element) nil end |