Method: Buff::Client::Update#update_by_id

Defined in:
lib/buff/update.rb

#update_by_id(id, options = {}) ⇒ Object



4
5
6
7
8
# File 'lib/buff/update.rb', line 4

def update_by_id(id, options={})
  check_id(id)
  response = get("/updates/#{id}.json")
  Buff::Update.new(response)
end