Sha256: a4bb53b8ad46f108fb5c056baa516a8861f26d9b4431308573f10aa9c439deab

Contents?: true

Size: 1.01 KB

Versions: 2

Compression:

Stored size: 1.01 KB

Contents

module Comee
  module Core
    class CustomsDetailsController < ApplicationController
      include Common

      private

      def model_params
        params.require(:payload).permit(
          :registration_type,
          :export_declaration_type,
          :participant_constellation,
          :mode_of_transport_type,
          :type_of_identification,
          :destination_country,
          :containerized,
          :additional_identifier,
          :packaging_type,
          :export_customs_office,
          :customs_office_of_exit,
          :mode_of_transport,
          :mode_of_transport_at_border,
          :delivery_term_code,
          :nationality,
          :mode_of_transport_nationality,
          :mrn,
          :office_number,
          :quantity,
          :characters_numbers,
          :closure_mark1,
          :closure_mark2,
          :closure_mark3,
          :closure_mark4,
          :closure_mark5,
          :transportation_route,
          :sales_order_id
        )
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
comee_core-0.2.86 app/controllers/comee/core/customs_details_controller.rb
comee_core-0.2.85 app/controllers/comee/core/customs_details_controller.rb