Class: Shoppy::Log
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Shoppy::Log
- Defined in:
- app/models/shoppy/log.rb
Direct Known Subclasses
Class Method Summary collapse
Class Method Details
.newEvent(area, event, by) ⇒ Object
4 5 6 |
# File 'app/models/shoppy/log.rb', line 4 def self.newEvent(area, event, by) Log.create(area: area, event: event, by: by) end |