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.5.15 app/repositories/ibrain/base_repository.rb
ibrain-core-0.5.13 app/repositories/ibrain/base_repository.rb
ibrain-core-0.5.12 app/repositories/ibrain/base_repository.rb
ibrain-core-0.5.10 app/repositories/ibrain/base_repository.rb
ibrain-core-0.5.9 app/repositories/ibrain/base_repository.rb
ibrain-core-0.5.8 app/repositories/ibrain/base_repository.rb
ibrain-core-0.5.7 app/repositories/ibrain/base_repository.rb
ibrain-core-0.5.6 app/repositories/ibrain/base_repository.rb
ibrain-core-0.5.5 app/repositories/ibrain/base_repository.rb
ibrain-core-0.5.4 app/repositories/ibrain/base_repository.rb
ibrain-core-0.5.3 app/repositories/ibrain/base_repository.rb
ibrain-core-0.5.2 app/repositories/ibrain/base_repository.rb
ibrain-core-0.5.1 app/repositories/ibrain/base_repository.rb
ibrain-core-0.5.0 app/repositories/ibrain/base_repository.rb
ibrain-core-0.4.9 app/repositories/ibrain/base_repository.rb
ibrain-core-0.4.8 app/repositories/ibrain/base_repository.rb
ibrain-core-0.4.7 app/repositories/ibrain/base_repository.rb
ibrain-core-0.4.5 app/repositories/ibrain/base_repository.rb
ibrain-core-0.4.4 app/repositories/ibrain/base_repository.rb
ibrain-core-0.4.3 app/repositories/ibrain/base_repository.rb