Class: WsdlMapper::SvcDesc::Wsdl11::PortType::Operation
- Inherits:
-
Base
- Object
- Base
- WsdlMapper::SvcDesc::Wsdl11::PortType::Operation
- Defined in:
- lib/wsdl_mapper/svc_desc/wsdl11/port_type.rb
Instance Attribute Summary (collapse)
-
- (Object) faults
Returns the value of attribute faults.
-
- (Object) input
Returns the value of attribute input.
-
- (Object) output
Returns the value of attribute output.
-
- (Object) type
Returns the value of attribute type.
Attributes inherited from Base
Instance Method Summary (collapse)
- - (Object) add_fault(fault)
- - (Object) each_fault(&block)
- - (Object) get_fault(name)
-
- (Operation) initialize(name)
constructor
A new instance of Operation.
Constructor Details
- (Operation) initialize(name)
Returns a new instance of Operation
10 11 12 13 |
# File 'lib/wsdl_mapper/svc_desc/wsdl11/port_type.rb', line 10 def initialize(name) super name @faults = WsdlMapper::Dom::Directory.new end |
Instance Attribute Details
- (Object) faults
Returns the value of attribute faults
8 9 10 |
# File 'lib/wsdl_mapper/svc_desc/wsdl11/port_type.rb', line 8 def faults @faults end |
- (Object) input
Returns the value of attribute input
8 9 10 |
# File 'lib/wsdl_mapper/svc_desc/wsdl11/port_type.rb', line 8 def input @input end |
- (Object) output
Returns the value of attribute output
8 9 10 |
# File 'lib/wsdl_mapper/svc_desc/wsdl11/port_type.rb', line 8 def output @output end |
- (Object) type
Returns the value of attribute type
8 9 10 |
# File 'lib/wsdl_mapper/svc_desc/wsdl11/port_type.rb', line 8 def type @type end |
Instance Method Details
- (Object) add_fault(fault)
15 16 17 |
# File 'lib/wsdl_mapper/svc_desc/wsdl11/port_type.rb', line 15 def add_fault(fault) @faults[fault.name] = fault end |
- (Object) each_fault(&block)
19 20 21 |
# File 'lib/wsdl_mapper/svc_desc/wsdl11/port_type.rb', line 19 def each_fault(&block) @faults.each_value &block end |
- (Object) get_fault(name)
23 24 25 |
# File 'lib/wsdl_mapper/svc_desc/wsdl11/port_type.rb', line 23 def get_fault(name) @faults[name] end |