Class: ActionService::Protocol::Soap::SoapArrayMapping
- Inherits:
-
SoapMapping
- Object
- SoapMapping
- ActionService::Protocol::Soap::SoapArrayMapping
- Defined in:
- lib/action_service/protocol/soap.rb
Instance Attribute Summary collapse
-
#element_mapping ⇒ Object
readonly
Returns the value of attribute element_mapping.
Attributes inherited from SoapMapping
#registry_mapping, #ruby_klass, #soap_klass
Instance Method Summary collapse
-
#initialize(mapper, type_name, ruby_klass, soap_klass, registry_mapping, element_mapping) ⇒ SoapArrayMapping
constructor
A new instance of SoapArrayMapping.
- #type_name ⇒ Object
Methods inherited from SoapMapping
#custom_type?, #each_attribute, #is_xsd_type?, #qualified_type_name, #xsd_type_for
Constructor Details
#initialize(mapper, type_name, ruby_klass, soap_klass, registry_mapping, element_mapping) ⇒ SoapArrayMapping
Returns a new instance of SoapArrayMapping.
375 376 377 378 |
# File 'lib/action_service/protocol/soap.rb', line 375 def initialize(mapper, type_name, ruby_klass, soap_klass, registry_mapping, element_mapping) super(mapper, type_name, ruby_klass, soap_klass, registry_mapping, true) @element_mapping = element_mapping end |
Instance Attribute Details
#element_mapping ⇒ Object (readonly)
Returns the value of attribute element_mapping.
373 374 375 |
# File 'lib/action_service/protocol/soap.rb', line 373 def element_mapping @element_mapping end |
Instance Method Details
#type_name ⇒ Object
380 381 382 |
# File 'lib/action_service/protocol/soap.rb', line 380 def type_name super + "Array" end |