Method: Learndot::API#update

Defined in:
lib/learndot/api.rb

#update(entity, conditions, id) ⇒ Object

keep seperate from create to avoid accidental record creation



60
61
62
63
# File 'lib/learndot/api.rb', line 60

def update(entity, conditions, id)
  endpoint = "/manage/#{entity}/#{id}"
  api_post(endpoint, conditions)
end