Class: WSDL::Reader::Operation
- Inherits:
-
Object
- Object
- WSDL::Reader::Operation
- Defined in:
- lib/wsdl-reader/operation.rb
Instance Attribute Summary collapse
-
#binding ⇒ Object
readonly
Returns the value of attribute binding.
-
#fault ⇒ Object
readonly
Returns the value of attribute fault.
-
#input ⇒ Object
readonly
Returns the value of attribute input.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#output ⇒ Object
readonly
Returns the value of attribute output.
-
#soap_action ⇒ Object
readonly
Returns the value of attribute soap_action.
-
#style ⇒ Object
readonly
Returns the value of attribute style.
Instance Method Summary collapse
-
#initialize(element, binding) ⇒ Operation
constructor
A new instance of Operation.
- #lookup_element(port_types, messages) ⇒ Object
- #message ⇒ Object
- #method_name ⇒ Object
Constructor Details
#initialize(element, binding) ⇒ Operation
Returns a new instance of Operation.
14 15 16 17 18 19 |
# File 'lib/wsdl-reader/operation.rb', line 14 def initialize(element, binding) @name = element.attributes['name'] @binding = binding parse! element end |
Instance Attribute Details
#binding ⇒ Object (readonly)
Returns the value of attribute binding.
12 13 14 |
# File 'lib/wsdl-reader/operation.rb', line 12 def binding @binding end |
#fault ⇒ Object (readonly)
Returns the value of attribute fault.
11 12 13 |
# File 'lib/wsdl-reader/operation.rb', line 11 def fault @fault end |
#input ⇒ Object (readonly)
Returns the value of attribute input.
11 12 13 |
# File 'lib/wsdl-reader/operation.rb', line 11 def input @input end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
12 13 14 |
# File 'lib/wsdl-reader/operation.rb', line 12 def name @name end |
#output ⇒ Object (readonly)
Returns the value of attribute output.
11 12 13 |
# File 'lib/wsdl-reader/operation.rb', line 11 def output @output end |
#soap_action ⇒ Object (readonly)
Returns the value of attribute soap_action.
11 12 13 |
# File 'lib/wsdl-reader/operation.rb', line 11 def soap_action @soap_action end |
#style ⇒ Object (readonly)
Returns the value of attribute style.
11 12 13 |
# File 'lib/wsdl-reader/operation.rb', line 11 def style @style end |
Instance Method Details
#lookup_element(port_types, messages) ⇒ Object
29 30 31 32 |
# File 'lib/wsdl-reader/operation.rb', line 29 def lookup_element(port_types, ) = port_types. :input, self, .element.split(':').last end |
#message ⇒ Object
25 26 27 |
# File 'lib/wsdl-reader/operation.rb', line 25 def @name end |
#method_name ⇒ Object
21 22 23 |
# File 'lib/wsdl-reader/operation.rb', line 21 def method_name @name.underscore end |