Sha256: 3fac0a0b778eb4621d6bffabba9ee61acc0ebde247256dae2eec2311edd62591

Contents?: true

Size: 448 Bytes

Versions: 15

Compression:

Stored size: 448 Bytes

Contents

module Economic
  class Product < Base
    field :barCode
    field :barred
    field :costPrice
    field :description
    field :lastUpdated
    field :name
    field :productNumber, id: true
    field :recommendedPrice
    field :salesPrice

    # field :departmentalDistribution
    relation :inventory, fields: []
    # field :invoices
    # field :pricing
    relation :productGroup, fields: [:productGroupNumber]
    # field :unit
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
economic-rest-0.4.3 lib/economic/product.rb
economic-rest-0.4.2 lib/economic/product.rb
economic-rest-0.4.1 lib/economic/product.rb
economic-rest-0.4.0 lib/economic/product.rb
economic-rest-0.3.6 lib/economic/product.rb
economic-rest-0.3.5 lib/economic/product.rb
economic-rest-0.3.4 lib/economic/product.rb
economic-rest-0.3.3 lib/economic/product.rb
economic-rest-0.3.2 lib/economic/product.rb
economic-rest-0.3.1 lib/economic/product.rb
economic-rest-0.3.0 lib/economic/product.rb
economic-rest-0.2.8 lib/economic/product.rb
economic-rest-0.2.7 lib/economic/product.rb
economic-rest-0.2.5 lib/economic/product.rb
economic-rest-0.2.4 lib/economic/product.rb