Module: Mite::ResourceWithActiveArchived::ClassMethods
- Defined in:
- lib/mite-rb.rb
Instance Method Summary collapse
Instance Method Details
#active(options = {}) ⇒ Object
106 107 108 |
# File 'lib/mite-rb.rb', line 106 def active(={}) find(:all, ) end |
#archived(options = {}) ⇒ Object
102 103 104 |
# File 'lib/mite-rb.rb', line 102 def archived(={}) find(:all, .update(:from => :archived)) end |