Sha256: b32f91d9e2387558ddbf99f7d38bb2ade4cdd6997e6b28396947261af5ae0231
Contents?: true
Size: 568 Bytes
Versions: 4
Compression:
Stored size: 568 Bytes
Contents
# frozen_string_literal: true module Polyn class Cli ## # Configuration data for Polyn::Cli class Configuration attr_reader :polyn_env, :nats_servers, :nats_credentials, :nats_ca_file, :nats_tls def initialize @polyn_env = ENV["POLYN_ENV"] || "development" @nats_servers = ENV["NATS_SERVERS"] || "nats://127.0.0.1:4222" @nats_credentials = ENV["NATS_CREDENTIALS"] || "" @nats_ca_file = ENV["NATS_CA_FILE"] || "" @nats_tls = ENV["NATS_TLS"] || false end end end end
Version data entries
4 entries across 4 versions & 1 rubygems