Module: Item::EmployeeMethods

Defined in:
app/models/item.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



41
42
43
# File 'app/models/item.rb', line 41

def self.included(base)
  # base.send :extend, ClassMethods
end

Instance Method Details

#inventoryObject



45
46
47
# File 'app/models/item.rb', line 45

def inventory
  Item.where(assignee_id: id)
end