Class: WSDL::Parser::MessageParts Private
- Inherits:
-
Object
- Object
- WSDL::Parser::MessageParts
- Defined in:
- lib/wsdl/parser/input_output.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Base class for building message parts (headers and body) from WSDL operation definitions. Subclasses specify the message direction by implementing #message_reference and #headers.
Instance Attribute Summary collapse
-
#body_parts ⇒ Array<XML::Element>
readonly
private
The body part elements for this message.
-
#header_parts ⇒ Array<XML::Element>
readonly
private
The header part elements for this message.
Instance Method Summary collapse
-
#initialize(binding_operation, port_type_operation, documents:, schemas:, limits:, issues: nil, element_builder: nil) ⇒ MessageParts
constructor
private
Creates a new MessageParts instance.
Constructor Details
#initialize(binding_operation, port_type_operation, documents:, schemas:, limits:, issues: nil, element_builder: nil) ⇒ MessageParts
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Creates a new MessageParts instance.
rubocop:disable Metrics/ParameterLists -- per-operation + build context
22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'lib/wsdl/parser/input_output.rb', line 22 def initialize(binding_operation, port_type_operation, documents:, schemas:, limits:, issues: nil, element_builder: nil) @binding_operation = binding_operation @port_type_operation = port_type_operation @documents = documents @schemas = schemas @limits = limits @issues = issues @element_builder = element_builder build_parts end |
Instance Attribute Details
#body_parts ⇒ Array<XML::Element> (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
The body part elements for this message.
These elements define the structure of the SOAP body.
48 49 50 |
# File 'lib/wsdl/parser/input_output.rb', line 48 def body_parts @body_parts end |
#header_parts ⇒ Array<XML::Element> (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
The header part elements for this message.
These elements define the structure of the SOAP header.
41 42 43 |
# File 'lib/wsdl/parser/input_output.rb', line 41 def header_parts @header_parts end |