# File lib/travis/client/env_var.rb, line 84 def update(options) options = { :value => options } unless options.is_a? Hash result = session.patch(EnvVar.path(self), JSON.dump(:env_var => options)) attributes.replace(result['env_var'].attributes) self end