Module: Cistern::Collection::ClassMethods
- Defined in:
- lib/cistern/collection.rb
Instance Method Summary collapse
Instance Method Details
#model(new_model = nil) ⇒ Object
19 20 21 |
# File 'lib/cistern/collection.rb', line 19 def model(new_model = nil) @_model ||= new_model end |
#service_method(name = nil) ⇒ Object
23 24 25 |
# File 'lib/cistern/collection.rb', line 23 def service_method(name = nil) @_service_method ||= name end |