module DoorkeeperMongodb::Compatible
Public Instance Methods
lock!(_ = true)
click to toggle source
# File lib/doorkeeper-mongodb/compatible.rb, line 15 def lock!(_ = true) reload if persisted? self end
transaction(options = {}, &block)
click to toggle source
# File lib/doorkeeper-mongodb/compatible.rb, line 11 def transaction(options = {}, &block) self.class.transaction(options, &block) end