Module: Cistern::Collection::ClassMethods

Defined in:
lib/cistern/collection.rb

Instance Method Summary collapse

Instance Method Details

#model(new_model = nil) ⇒ Object



20
21
22
# File 'lib/cistern/collection.rb', line 20

def model(new_model=nil)
  @_model ||= new_model
end

#service_method(name = nil) ⇒ Object



24
25
26
# File 'lib/cistern/collection.rb', line 24

def service_method(name=nil)
  @_service_method ||= name
end