Module: ApplicationRecordMethods::ClassMethods

Defined in:
lib/varnish_rails/application_record_methods.rb

Instance Method Summary collapse

Instance Method Details

#is_updated_via_import(value = true) ⇒ Object



95
96
97
# File 'lib/varnish_rails/application_record_methods.rb', line 95

def is_updated_via_import(value=true)
  self.varnish_purge_on_commit = !value
end