Sha256: ae3e90aa6c3d137a6883e32cdbbcdc25ccc7453c56417df8b29026fe4fb775ba

Contents?: true

Size: 334 Bytes

Versions: 9

Compression:

Stored size: 334 Bytes

Contents

module Comee
  module Core
    class ProductSerializer < ActiveModel::Serializer
      attributes :id, :code, :name, :description, :thumbnail_image_url, :images_url, :preferred_units, :weight,
                 :dimensions, :hs_code, :hs_description, :parent_id
      belongs_to :source
      belongs_to :weight_unit
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
comee_core-0.2.75 app/serializers/comee/core/product_serializer.rb
comee_core-0.2.70 app/serializers/comee/core/product_serializer.rb
comee_core-0.2.69 app/serializers/comee/core/product_serializer.rb
comee_core-0.2.68 app/serializers/comee/core/product_serializer.rb
comee_core-0.2.67 app/serializers/comee/core/product_serializer.rb
comee_core-0.2.66 app/serializers/comee/core/product_serializer.rb
comee_core-0.2.65 app/serializers/comee/core/product_serializer.rb
comee_core-0.2.64 app/serializers/comee/core/product_serializer.rb
comee_core-0.2.63 app/serializers/comee/core/product_serializer.rb