module Harvest::Client::Helpers::Update
Public Instance Methods
update(id, body)
click to toggle source
# File lib/harvest/client/helpers/update.rb, line 5 def update id, body res = Request.new(@connection, build_url(id), body).patch if res.success? resource.new(res.body) else res.error end end