Sha256: b956bf69ed607a4d1de2d9ffde4a2829e07f01897b2b56b4214e107b9350ee37

Contents?: true

Size: 426 Bytes

Versions: 7

Compression:

Stored size: 426 Bytes

Contents

# frozen_string_literal: true

module Ibrain
  # Default implementation of User.
  #
  # @note This class is intended to be modified by extensions (ex.
  #   ibrain-auth)
  class LegacyUser < Ibrain::Base
    include UserMethods

    self.table_name = 'ibrain_users'

    def self.model_name
      ActiveModel::Name.new Ibrain::LegacyUser, Ibrain, 'user'
    end

    attr_accessor :password, :password_confirmation
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ibrain-core-0.1.6 app/models/ibrain/legacy_user.rb
ibrain-core-0.1.5 app/models/ibrain/legacy_user.rb
ibrain-core-0.1.4 app/models/ibrain/legacy_user.rb
ibrain-core-0.1.3 app/models/ibrain/legacy_user.rb
ibrain-core-0.1.2 app/models/ibrain/legacy_user.rb
ibrain-core-0.1.1 app/models/ibrain/legacy_user.rb
ibrain-core-0.1.0 app/models/ibrain/legacy_user.rb