Sha256: fa02743fc528696707655d8b0603d04f33580a889ad860eebe8573bda017e3f2

Contents?: true

Size: 276 Bytes

Versions: 23

Compression:

Stored size: 276 Bytes

Contents

module Comee
  module Core
    class ProductsController < ApplicationController
      include Common

      private

      def model_params
        params.required(:payload).permit(:code, :name, :description, :product_type_id, :unit_id, :metadata)
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
comee_core-0.1.32 app/controllers/comee/core/products_controller.rb
comee_core-0.1.31 app/controllers/comee/core/products_controller.rb
comee_core-0.1.30 app/controllers/comee/core/products_controller.rb
comee_core-0.1.29 app/controllers/comee/core/products_controller.rb
comee_core-0.1.28 app/controllers/comee/core/products_controller.rb
comee_core-0.1.27 app/controllers/comee/core/products_controller.rb
comee_core-0.1.26 app/controllers/comee/core/products_controller.rb
comee_core-0.1.25 app/controllers/comee/core/products_controller.rb
comee_core-0.1.24 app/controllers/comee/core/products_controller.rb
comee_core-0.1.23 app/controllers/comee/core/products_controller.rb
comee_core-0.1.22 app/controllers/comee/core/products_controller.rb
comee_core-0.1.21 app/controllers/comee/core/products_controller.rb
comee_core-0.1.20 app/controllers/comee/core/products_controller.rb
comee_core-0.1.19 app/controllers/comee/core/products_controller.rb
comee_core-0.1.18 app/controllers/comee/core/products_controller.rb
comee_core-0.1.17 app/controllers/comee/core/products_controller.rb
comee_core-0.1.16 app/controllers/comee/core/products_controller.rb
comee_core-0.1.15 app/controllers/comee/core/products_controller.rb
comee_core-0.1.14 app/controllers/comee/core/products_controller.rb
comee_core-0.1.13 app/controllers/comee/core/products_controller.rb