Sha256: 305df984d59d269ed46269395781c7c8b32198158db6f37b26cab36e85903cda
Contents?: true
Size: 508 Bytes
Versions: 3
Compression:
Stored size: 508 Bytes
Contents
require_relative 'registries/simple_mutation_registry' require_relative 'registries/redis_mutation_registry' Pakyow::Config.register(:ui) { |config| # The registry to use when keeping up with connections. config.opt :registry, Pakyow::UI::SimpleMutationRegistry }.env(:development) { |opts| opts.registry = Pakyow::UI::SimpleMutationRegistry }.env(:staging) { |opts| opts.registry = Pakyow::UI::RedisMutationRegistry }.env(:production) { |opts| opts.registry = Pakyow::UI::RedisMutationRegistry }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
pakyow-ui-0.10.2 | pakyow-ui/lib/pakyow-ui/config.rb |
pakyow-ui-0.10.1 | pakyow-ui/lib/pakyow-ui/config.rb |
pakyow-ui-0.10.0 | pakyow-ui/lib/pakyow-ui/config.rb |