Class: WsdlMapper::SvcDesc::Wsdl11::Binding::Operation

Inherits:
WsdlMapper::SvcDesc::Wsdl11::Base show all
Defined in:
lib/wsdl_mapper/svc_desc/wsdl11/binding.rb

Instance Attribute Summary (collapse)

Attributes inherited from WsdlMapper::SvcDesc::Wsdl11::Base

#documentation, #name

Instance Method Summary (collapse)

Constructor Details

- (Operation) initialize(name)

Returns a new instance of Operation



10
11
12
13
# File 'lib/wsdl_mapper/svc_desc/wsdl11/binding.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/binding.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/binding.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/binding.rb', line 8

def output
  @output
end

- (Object) soap_action

Returns the value of attribute soap_action



8
9
10
# File 'lib/wsdl_mapper/svc_desc/wsdl11/binding.rb', line 8

def soap_action
  @soap_action
end

- (Object) target

Returns the value of attribute target



8
9
10
# File 'lib/wsdl_mapper/svc_desc/wsdl11/binding.rb', line 8

def target
  @target
end

Instance Method Details

- (Object) add_fault(fault)



15
16
17
# File 'lib/wsdl_mapper/svc_desc/wsdl11/binding.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/binding.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/binding.rb', line 23

def get_fault(name)
  @faults[name]
end