Module: SwitchPoint::Model::ClassMethods

Defined in:
lib/switch_point/model.rb

Instance Method Summary collapse

Instance Method Details

#with_readonly(&block) ⇒ Object



23
24
25
# File 'lib/switch_point/model.rb', line 23

def with_readonly(&block)
  switch_point_proxy.with_readonly(&block)
end

#with_writable(&block) ⇒ Object



27
28
29
# File 'lib/switch_point/model.rb', line 27

def with_writable(&block)
  switch_point_proxy.with_writable(&block)
end