Class: Rscratch::ExceptionLog
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Rscratch::ExceptionLog
- Defined in:
- app/models/rscratch/exception_log.rb
Constant Summary collapse
- STATUS =
> Defining statuses
%w(new under_development resolved)
Instance Method Summary collapse
Instance Method Details
#development! ⇒ Object
32 33 34 |
# File 'app/models/rscratch/exception_log.rb', line 32 def development! update_attribute(:status, 'under_development') end |
#resolve! ⇒ Object
36 37 38 |
# File 'app/models/rscratch/exception_log.rb', line 36 def resolve! update_attribute(:status, 'resolved') end |