def upload(resource, bytes)
      headers = {
        'x-ton-expires'  => DEFAULT_EXPIRE,
        'content-length' => @file_size,
        'content-type'   => content_type
      }
      TwitterAds::Request.new(
        @client, :post, resource, domain: DEFAULT_DOMAIN, headers: headers, body: bytes).perform
    end
def upload(resource, bytes)
      headers = {
        'x-ton-expires'  => DEFAULT_EXPIRE,
        'content-length' => @file_size,
        'content-type'   => content_type
      }
      TwitterAds::Request.new(
        @client, :post, resource, domain: DEFAULT_DOMAIN, headers: headers, body: bytes).perform
    end
performs a single chunk upload