Module: AssayDepot::DatabaseModel
- Included in:
- List, PurchaseOrder
- Defined in:
- lib/assaydepot/model.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
- #all(options = {}) ⇒ Object
-
#internal_results ⇒ Object
Overridden from Model.
Class Method Details
.included(base) ⇒ Object
10 11 12 13 14 |
# File 'lib/assaydepot/model.rb', line 10 def self.included(base) base.include AssayDepot::Model base.extend AssayDepot::Model::ClassMethods base.extend ClassMethods end |
Instance Method Details
#all(options = {}) ⇒ Object
16 17 18 19 20 |
# File 'lib/assaydepot/model.rb', line 16 def all( = {}) result = self.clone result. = result end |