You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: submitter.rb
    path of file: ./repos/flipper/lib/flipper/cloud/telemetry
    
    the code of the file until where you have to start completion: require "securerandom"
require "flipper/typecast"
require "flipper/cloud/telemetry/backoff_policy"

module Flipper
  module Cloud
    class Telemetry
      class Submitter
        PATH = "/telemetry".freeze
        SCHEMA_VERSION = "V1".freeze
 
    
        def submit(body)
          client = @cloud_configuration.http_client
          client.add_header "schema-version", SCHEMA_VERSION
          client.add_header "content-encoding", GZIP_ENCODING

          response = client.post PATH, body
          code = response.code.to_i

          # Raise error and retry for retriable status codes.
          # FIXME: what about redirects?
          if code < 200 || code == 429 || code >= 500
            raise Error.new(request_id, response)
          end