Sha256: bf6e8b00010a998d1e1cb5610160a75bea27ab7f2328791563137cf5ca30ce5a

Contents?: true

Size: 603 Bytes

Versions: 5

Compression:

Stored size: 603 Bytes

Contents

# frozen_string_literal: true

require "pakyow/support/extension"

module Pakyow
  module Environment
    module Realtime
      module Config
        extend Support::Extension

        apply_extension do
          configurable :realtime do
            setting :server, true

            setting :adapter, :memory
            setting :adapter_settings, {}

            defaults :production do
              setting :adapter, :redis
              setting :adapter_settings do
                Pakyow.config.redis.to_h
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pakyow-realtime-1.0.0.rc5 lib/pakyow/environment/realtime/config.rb
pakyow-realtime-1.0.0.rc4 lib/pakyow/environment/realtime/config.rb
pakyow-realtime-1.0.0.rc3 lib/pakyow/environment/realtime/config.rb
pakyow-realtime-1.0.0.rc2 lib/pakyow/environment/realtime/config.rb
pakyow-realtime-1.0.0.rc1 lib/pakyow/environment/realtime/config.rb