class Nin::Integration::Todoist::Client::Project
Constants
- API_URI
Public Instance Methods
get(id)
click to toggle source
# File lib/nin/integration/todoist/client/project.rb, line 8 def get(id) res = HTTP.headers(accept: "application/json") .get("#{API_URI}/get", params: { token: @token, project_id: id }) JSON.parse(res.body.to_s)['project'] end