Class: WSDL::Reader::PortType

Inherits:
Object
  • Object
show all
Defined in:
lib/wsdl-reader/port_type.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(element) ⇒ PortType

Returns a new instance of PortType.



10
11
12
13
14
15
# File 'lib/wsdl-reader/port_type.rb', line 10

def initialize(element)
  @operations = Hash.new
  @name = element.attributes['name']

  process_all_operations(element)
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



8
9
10
# File 'lib/wsdl-reader/port_type.rb', line 8

def name
  @name
end

#operationsObject (readonly)

Returns the value of attribute operations.



7
8
9
# File 'lib/wsdl-reader/port_type.rb', line 7

def operations
  @operations
end