Class: OAI::Provider::OaiToken

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/oai/provider/model/activerecord_caching_wrapper.rb

Overview

ActiveRecord model class in support of the caching wrapper.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.sanitize_sql(*arg) ⇒ Object



15
16
17
# File 'lib/oai/provider/model/activerecord_caching_wrapper.rb', line 15

def self.sanitize_sql(*arg)
  super(*arg)
end

Instance Method Details

#new_record_before_save?Boolean

Returns:

  • (Boolean)


19
20
21
# File 'lib/oai/provider/model/activerecord_caching_wrapper.rb', line 19

def new_record_before_save?
  @new_record_before_save
end