Sha256: d496cc49bf8467d1508471d22138d10aa7df1ea5e473b923dd8d575fa964b37a

Contents?: true

Size: 479 Bytes

Versions: 2

Compression:

Stored size: 479 Bytes

Contents

# frozen_string_literal: true

module RudderAnalyticsSync
  module Constants
    MAX_BATCH_SIZE = 500_000 # ~500 KB
    MAX_MESSAGE_SIZE = 32_000  # ~32 KB
    BASE_URL = 'https://hosted.rudderlabs.com'

    DEFAULT_HEADERS = {
      'Content-Type' => 'application/json',
      'accept' => 'application/json'
    }.freeze

    DEFAULT_CONTEXT = {
      library: {
        name: 'rudder-sdk-ruby-sync',
        version: RudderAnalyticsSync::VERSION
      }
    }.freeze
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rudder_analytics_sync-2.0.1 lib/rudder_analytics_sync/constants.rb
rudder_analytics_sync-2.0.0 lib/rudder_analytics_sync/constants.rb