module Clubhouse::APIActions

Public Instance Methods

find(clazz, path, id) click to toggle source
# File lib/clubhouse/api_actions.rb, line 5
def find(clazz, path, id)
  payload = get("#{path}/#{id}")
  clazz.new.update_object_from_payload(payload)
end