This method is just going to toggle whatever the "keepLog" is currently set to. What if the user doesn't know what is currently set to and want to set it to a particular value. What do you think about having a method like this:
```ruby
# Toggles the build's "keep forever" (a.k.a. "keepLog") status
#
# @param [String] job_name the name of the job
# @param [Integer] build_number the build number
# @param [Boolean] to_keep true to keep the logs forever and false otherwise
#
def set_keep_build_forever(job_name, build_num, to_keep)
   ...
end
```

We can have logic in this method that will get the job's or a particular build's JSON using a GET request and set the value only if it is not set to the desired one. This way this method will be idempotent. Any thoughts?