lib/neutrino/gateway/map_type.rb
# Uploads a file containing multiple mappings.
#
# @param [File] mappings_file File containing map types for import
# @param [Hash] options specify query values
# @return [Hash] the NEUTRINO response body
Uploads a file containing multiple mappings.
Uploads a file containing multiple mappings .
def import_map_type_file(uploaded_file, options = {})
          path = "#{base_uri}/import/file"
          map_type_body = map_type_import_body(uploaded_file)
          request(path, options.merge(method: :post_multipart), map_type_body, false, MULTIPLE_MAPPINGS_UPLOAD_TIMEOUT).to_s
        end
def import_map_type_file ( uploaded_file , options = { } ) path = "#{base_uri}/import/file" map_type_body = map_type_import_body ( uploaded_file ) request ( path , options . merge ( method : :post_multipart ) , map_type_body , false , MULTIPLE_MAPPINGS_UPLOAD_TIMEOUT ) . to_s end
Uploads a file containing multiple mappings.
Uploads a file containing multiple mappings .
the NEUTRINO response body
the NEUTRINO response body
Hash
uploaded_file
<not_specific>
options
<not_specific>
<not_specific>
options specify query values
options specify query values