Sha256: cf6e163505e18c0f69225027e88f7d5ae28ca4a78b9a70834a50a1ca53e28d58
Contents?: true
Size: 574 Bytes
Versions: 4
Compression:
Stored size: 574 Bytes
Contents
require 'libhoney/client' require 'libhoney/null_transmission' module Libhoney # A no-op client that silently drops events. Does not send events to # Honeycomb, or to anywhere else for that matter. # # This class is intended as a fallback for callers that wanted to instantiate # a regular Client but had insufficient config to do so (e.g. missing # writekey). # # @api private class NullClient < Client def initialize(*args, **kwargs) super(*args, transmission: NullTransmissionClient.new, **kwargs) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
libhoney-1.10.1 | lib/libhoney/null_client.rb |
libhoney-1.10.0 | lib/libhoney/null_client.rb |
libhoney-1.9.0 | lib/libhoney/null_client.rb |
libhoney-1.8.1 | lib/libhoney/null_client.rb |