Method: SwitchConnection::Model::MonkeyPatch#cache

Defined in:
lib/switch_connection/model.rb

#cache(&block) ⇒ Object



152
153
154
155
156
157
158
# File 'lib/switch_connection/model.rb', line 152

def cache(&block)
  if switch_point_proxy
    switch_point_proxy.cache(&block)
  else
    super
  end
end