Sha256: 0553c72f6de0af3a10291d9340eede1ed0b82f0ac3ed06dd03d4dcca9ffdd6f1

Contents?: true

Size: 293 Bytes

Versions: 56

Compression:

Stored size: 293 Bytes

Contents

# frozen_string_literal: true

module Ibrain
  class BaseRepository
    def initialize(current_user, record)
      @current_user = current_user
      @record = record
    end

    attr_reader :current_user, :record

    protected

    def cryptor
      Ibrain::Encryptor.new
    end
  end
end

Version data entries

56 entries across 56 versions & 1 rubygems

Version Path
ibrain-core-0.4.2 app/repositories/ibrain/base_repository.rb
ibrain-core-0.4.1 app/repositories/ibrain/base_repository.rb
ibrain-core-0.4.0 app/repositories/ibrain/base_repository.rb
ibrain-core-0.3.9 app/repositories/ibrain/base_repository.rb
ibrain-core-0.3.8 app/repositories/ibrain/base_repository.rb
ibrain-core-0.3.7.rc.pre.1 app/repositories/ibrain/base_repository.rb
ibrain-core-0.3.7 app/repositories/ibrain/base_repository.rb
ibrain-core-0.3.6.pre.rc.1 app/repositories/ibrain/base_repository.rb
ibrain-core-0.3.6 app/repositories/ibrain/base_repository.rb
ibrain-core-0.3.5 app/repositories/ibrain/base_repository.rb
ibrain-core-0.3.4 app/repositories/ibrain/base_repository.rb
ibrain-core-0.3.3.pre.rc.2 app/repositories/ibrain/base_repository.rb
ibrain-core-0.3.3.pre.rc.1 app/repositories/ibrain/base_repository.rb
ibrain-core-0.3.3 app/repositories/ibrain/base_repository.rb
ibrain-core-0.3.2.pre.rc.4 app/repositories/ibrain/base_repository.rb
ibrain-core-0.3.2.pre.rc.3 app/repositories/ibrain/base_repository.rb
ibrain-core-0.3.2.pre.rc app/repositories/ibrain/base_repository.rb
ibrain-core-0.3.2 app/repositories/ibrain/base_repository.rb
ibrain-core-0.3.1 app/repositories/ibrain/base_repository.rb
ibrain-core-0.3.0 app/repositories/ibrain/base_repository.rb