    # File lib/fog/dynect/dns.rb, line 121
            def poll_job(response, time_to_wait = 10)
              job_location = response.headers['Location']

              Fog.wait_for(time_to_wait) do
                response = request(:expects => 200, :method => :get, :path => job_location)
                response.body['status'] != 'incomplete'
              end

              if response.body['status'] == 'incomplete'
                raise JobIncomplete.new("Job #{response.body['job_id']} is still incomplete")
              end

              response
            end