lib/savon_helper/mapping_object.rb
# Convert Ruby value to Savon data.
# @param mapping_name [Symbol] The name of the instance variable
# @param value [Object]
# @return [Hash, Object]
Convert Ruby value to Savon data.
Convert Ruby value to Savon data .
def map_to_savon(mapping_name, value)
      mapping = all_type_mappings[mapping_name]
      mapping = SavonHelper.define_missing_type_mapping(self.class, mapping_name, value, type_mappings, interface) if mapping.nil?
      return nil if value.nil?
      mapping.to_savon(value)
    end
def map_to_savon ( mapping_name , value ) mapping = all_type_mappings [ mapping_name ] mapping = SavonHelper . define_missing_type_mapping ( self . class , mapping_name , value , type_mappings , interface ) if mapping . nil? return nil if value . nil? mapping . to_savon ( value ) end
Convert Ruby value to Savon data.
Convert Ruby value to Savon data .
None
Hash, Object
mapping_name
The name of the instance variable
The name of the instance variable
value
<not_specific>
<not_specific>
None