Sha256: d9664b317c3723f7f0661963ab8c138ce2403259fa3117d0f2df9a5a8214e4c5

Contents?: true

Size: 540 Bytes

Versions: 7

Compression:

Stored size: 540 Bytes

Contents

# frozen_string_literal: true

require "pakyow/support/extension"

module Pakyow
  module Config
    module Realtime
      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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
pakyow-realtime-1.0.6 lib/pakyow/config/realtime.rb
pakyow-realtime-1.0.5 lib/pakyow/config/realtime.rb
pakyow-realtime-1.0.4 lib/pakyow/config/realtime.rb
pakyow-realtime-1.0.3 lib/pakyow/config/realtime.rb
pakyow-realtime-1.0.2 lib/pakyow/config/realtime.rb
pakyow-realtime-1.0.1 lib/pakyow/config/realtime.rb
pakyow-realtime-1.0.0 lib/pakyow/config/realtime.rb