Sha256: 0b633c615ae05a97feb1d060476f65aa8f6a3ef7d74839b183affaa362763708
Contents?: true
Size: 808 Bytes
Versions: 2
Compression:
Stored size: 808 Bytes
Contents
class SecureNativeOptions attr_reader :api_key, :api_url, :interval, :max_events, :timeout, :auto_send, :disable, :log_level, :fail_over_strategy attr_writer :api_key, :api_url, :interval, :max_events, :timeout, :auto_send, :disable, :log_level, :fail_over_strategy def initialize(api_key = nil, api_url = "https://api.securenative.com/collector/api/v1", interval = 1000, max_events = 1000, timeout = 1500, auto_send = true, disable = false, log_level = "FATAL", fail_over_strategy = FailOverStrategy::FAIL_OPEN) @api_key = api_key @api_url = api_url @interval = interval @max_events = max_events @timeout = timeout @auto_send = auto_send @disable = disable @log_level = log_level @fail_over_strategy = fail_over_strategy end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
securenative-0.1.17 | lib/securenative/config/securenative_options.rb |
securenative-0.1.16 | lib/securenative/config/securenative_options.rb |