Class: SavonHelper::MissingMapping
- Inherits:
-
TypeMapping
- Object
- TypeMapping
- SavonHelper::MissingMapping
- Defined in:
- lib/savon_helper/type_mappings.rb
Overview
MissingMapping maps Savon data to itself (no conversion).
Instance Attribute Summary
Attributes inherited from TypeMapping
Converting collapse
-
#to_native(data, interface) ⇒ Object
Convert from Savon data to itself.
-
#to_savon(value) ⇒ Object
Convert from itself (no conversion) to Savon data.
Instance Method Summary collapse
-
#type_string ⇒ String
Return the class description represented by the mapping.
Methods inherited from TypeMapping
#default_value, #initialize, #object_klass
Constructor Details
This class inherits a constructor from SavonHelper::TypeMapping
Instance Method Details
#to_native(data, interface) ⇒ Object
Convert from Savon data to itself.
463 464 465 |
# File 'lib/savon_helper/type_mappings.rb', line 463 def to_native(data, interface) data end |
#to_savon(value) ⇒ Object
Convert from itself (no conversion) to Savon data.
470 471 472 |
# File 'lib/savon_helper/type_mappings.rb', line 470 def to_savon(value) value end |
#type_string ⇒ String
Return the class description represented by the mapping.
478 479 480 |
# File 'lib/savon_helper/type_mappings.rb', line 478 def type_string "UNDEFINED" end |