def resource_changed?(resource, response)
      changed = false
      puts "checking for changes on #{resource.url}"
      puts "response.response.hash: #{response.response.hash}"
      puts "resource.last_modified_hash: #{resource.last_modified_hash}"
      if response.response.hash != resource.last_modified_hash
        puts "changed!!!!\n\n\n\n"
        changed = true
      end
    end
def resource_changed?(resource, response)
      changed = false
      puts "checking for changes on #{resource.url}"
      puts "response.response.hash: #{response.response.hash}"
      puts "resource.last_modified_hash: #{resource.last_modified_hash}"
      if response.response.hash != resource.last_modified_hash
        puts "changed!!!!\n\n\n\n"
        changed = true
      end
    end
Determines whether a resource has changed by comparing its saved hash
 value with the hash value of the response content.