Module: NewRelic::Agent::NewRelicService::Encoders::Compressed

Defined in:
lib/new_relic/agent/new_relic_service.rb

Class Method Summary collapse

Class Method Details

.encode(data) ⇒ Object



379
380
381
# File 'lib/new_relic/agent/new_relic_service.rb', line 379

def self.encode(data)
  Zlib::Deflate.deflate(data, Zlib::DEFAULT_COMPRESSION)
end