Sha256: 9c81522e4967d1e44a81cf0a26ddea1088b15179eb3192abe8e5d1d9d0853f26

Contents?: true

Size: 272 Bytes

Versions: 3

Compression:

Stored size: 272 Bytes

Contents

# frozen_string_literal: true

module SolidusJwt
  base_class = defined?(::ApplicationRecord) ? ::ApplicationRecord : ActiveRecord::Base

  class BaseRecord < base_class
    self.abstract_class = true

    def self.table_name_prefix
      'solidus_jwt_'
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
solidus_jwt-1.2.2 app/models/solidus_jwt/base_record.rb
solidus_jwt-1.2.1 app/models/solidus_jwt/base_record.rb
solidus_jwt-1.2.0 app/models/solidus_jwt/base_record.rb