def execute *items
      akamai = Akamai::Edgegrid::HTTP.new(address=baseuri.host, port=baseuri.port)
      akamai.setup_edgegrid(creds)
      http = Net::HTTP.new(address=baseuri.host, port=baseuri.port)
      http.use_ssl = true

      items = Array.wrap(items.first) if items.length == 1
      req = Net::HTTP::Post.new(resource, initheader = @@headers).tap do |pq|
        if for_ccu_v2?
          pq.body = request_body items
        else
          pq.body = {"objects" => items}.to_json
        end
      end

      timestamp = Akamai::Edgegrid::HTTP.eg_timestamp()
      nonce = Akamai::Edgegrid::HTTP.new_nonce()
      req['Authorization'] = akamai.make_auth_header(req, timestamp, nonce)

      parse_response http.request(req)
    end
def execute *items
      akamai = Akamai::Edgegrid::HTTP.new(address=baseuri.host, port=baseuri.port)
      akamai.setup_edgegrid(creds)
      http = Net::HTTP.new(address=baseuri.host, port=baseuri.port)
      http.use_ssl = true

      items = Array.wrap(items.first) if items.length == 1
      req = Net::HTTP::Post.new(resource, initheader = @@headers).tap do |pq|
        if for_ccu_v2?
          pq.body = request_body items
        else
          pq.body = {"objects" => items}.to_json
        end
      end

      timestamp = Akamai::Edgegrid::HTTP.eg_timestamp()
      nonce = Akamai::Edgegrid::HTTP.new_nonce()
      req['Authorization'] = akamai.make_auth_header(req, timestamp, nonce)

      parse_response http.request(req)
    end
Clean the requested resources.
 @param [Array<String>] items One or more resources to clean
 @return [Response] an object representing the received response
 @raise [AkamaiApi::CCU::Error] when there is an error in the request
 @raise [AkamaiApi::Unauthorized] when login credentials are invalid
 @example Clean a single resource
   request.execute 'http://foo.bar/t.txt'
 @example Clean multiple resources
   request.execute '12345', '12346'