module TenThousandFeet::API::Projects
Public Instance Methods
create_project(options = {})
click to toggle source
# File lib/ten_thousand_feet/api/projects.rb, line 12 def create_project(options = {}) post('/projects', options) end
delete_project(id, options = {})
click to toggle source
# File lib/ten_thousand_feet/api/projects.rb, line 20 def delete_project(id, options = {}) delete("/projects/#{id}", options) end
get_project_time_entries(id, options = {})
click to toggle source
# File lib/ten_thousand_feet/api/projects.rb, line 24 def get_project_time_entries(id, options = {}) get("/projects/#{id}/time_entries", options) end
get_project_users(id, options = {})
click to toggle source
# File lib/ten_thousand_feet/api/projects.rb, line 28 def get_project_users(id, options = {}) get("/projects/#{id}/users", options) end
get_projects(options = {})
click to toggle source
# File lib/ten_thousand_feet/api/projects.rb, line 4 def get_projects(options = {}) get('/projects', options) end
show_project(id, options = {})
click to toggle source
# File lib/ten_thousand_feet/api/projects.rb, line 8 def show_project(id, options = {}) get("/projects/#{id}", options) end
update_project(id, options = {})
click to toggle source
# File lib/ten_thousand_feet/api/projects.rb, line 16 def update_project(id, options = {}) put("/projects/#{id}", options) end