module InternalAffairs class Configuration attr_accessor :host, :app_key_id, :app_key_secret, :disable_audit_logs, :connection_timeout def initialize @disable_audit_logs = false @connection_timeout = 1.0 end def audit_logs_enabled? !disable_audit_logs && host.present? end end end