class Github::API

def set(option, value=(not_set = true), &block)

Set an option to a given value
def set(option, value=(not_set = true), &block)
  raise ArgumentError, 'value not set' if block and !not_set
  if not_set
    set_options option
    return self
  end
  if respond_to?("#{option}=")
    return __send__("#{option}=", value)
  end
  self
end