Sha256: a9cb330c79ce197eaefff5220fcbf017bc6aabf7b96ab22e2febfc8ae7a2fe55

Contents?: true

Size: 343 Bytes

Versions: 3

Compression:

Stored size: 343 Bytes

Contents

module Doorkeeper
  class AccessGrant < ActiveRecord::Base
    if Doorkeeper.configuration.active_record_options[:establish_connection]
      establish_connection Doorkeeper.configuration.active_record_options[:establish_connection]
    end

    self.table_name = "#{table_name_prefix}oauth_access_grants#{table_name_suffix}".to_sym
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
doorkeeper-1.4.2 lib/doorkeeper/models/active_record/access_grant.rb
doorkeeper-1.4.1 lib/doorkeeper/models/active_record/access_grant.rb
doorkeeper-1.4.0 lib/doorkeeper/models/active_record/access_grant.rb