Sha256: 197009625dc5100122e4e9c693129bd1b1831f5c857ec2e56dbb75a0eb47b12a

Contents?: true

Size: 432 Bytes

Versions: 7

Compression:

Stored size: 432 Bytes

Contents

# frozen_string_literal: true

require "dry-configurable"
require_relative "core/version"
require "panda/core/railtie"

module Panda
  module Core
    extend Dry::Configurable

    setting :user_class
    setting :authentication_providers, default: []
    setting :storage_provider, default: :active_storage
    setting :cache_store, default: :memory_store

    def self.root
      File.expand_path("..", __dir__)
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
panda-core-0.1.6 lib/panda/core.rb
panda-core-0.1.5 lib/panda/core.rb
panda-core-0.1.4 lib/panda/core.rb
panda-core-0.1.3 lib/panda/core.rb
panda-core-0.1.2 lib/panda/core.rb
panda-core-0.1.1 lib/panda/core.rb
panda-core-0.1.0 lib/panda/core.rb