Sha256: b902a508c9dd2731c92eb31e925897ddadef1ab61620cb0555c40a820ddf3a84

Contents?: true

Size: 391 Bytes

Versions: 18

Compression:

Stored size: 391 Bytes

Contents

module Unidom::Inventory::Concerns::AsStore

  extend ActiveSupport::Concern

  included do |includer|

    has_many :grouped_inventory_items,    class_name: 'Unidom::Inventory::GroupedInventoryItem',    foreign_key: :store_id
    has_many :serialized_inventory_items, class_name: 'Unidom::Inventory::SerializedInventoryItem', foreign_key: :store_id

  end

  module ClassMethods
  end

end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
unidom-inventory-2.0 app/models/unidom/inventory/concerns/as_store.rb
unidom-inventory-1.0.5 app/models/unidom/inventory/concerns/as_store.rb
unidom-inventory-1.0.4 app/models/unidom/inventory/concerns/as_store.rb
unidom-inventory-1.0.3 app/models/unidom/inventory/concerns/as_store.rb
unidom-inventory-1.0.2 app/models/unidom/inventory/concerns/as_store.rb
unidom-inventory-1.0.1 app/models/unidom/inventory/concerns/as_store.rb
unidom-inventory-1.0 app/models/unidom/inventory/concerns/as_store.rb
unidom-inventory-0.8 app/models/unidom/inventory/concerns/as_store.rb
unidom-inventory-0.7.5 app/models/unidom/inventory/concerns/as_store.rb
unidom-inventory-0.7.4 app/models/unidom/inventory/concerns/as_store.rb
unidom-inventory-0.7.3 app/models/unidom/inventory/concerns/as_store.rb
unidom-inventory-0.7.2 app/models/unidom/inventory/concerns/as_store.rb
unidom-inventory-0.7.1 app/models/unidom/inventory/concerns/as_store.rb
unidom-inventory-0.7 app/models/unidom/inventory/concerns/as_store.rb
unidom-inventory-0.6 app/models/unidom/inventory/concerns/as_store.rb
unidom-inventory-0.5 app/models/unidom/inventory/concerns/as_store.rb
unidom-inventory-0.4 app/models/unidom/inventory/concerns/as_store.rb
unidom-inventory-0.3 app/models/unidom/inventory/concerns/as_store.rb