module Bearcat class Client < Footrest::Client module Folders def get_course_folder(course, folder, params = {}) get("/api/v1/courses/#{course}/folders/#{folder}", params) end def list_course_folders(course, params = {}) get("/api/v1/courses/#{course}/folders", params) end def create_course_folder(course, params = {}) post("/api/v1/courses/#{course}/folders", params) end def get_user_folder(user, folder, params) get("/api/v1/users/#{user}/folders/#{folder}", params) end def list_user_folders(user, params = {}) get("/api/v1/users/#{user}/folders", params) end def create_user_folder(user, params = {}) post("/api/v1/users/#{user}/folders", params) end def get_group_folder(group, folder, params) get("/api/v1/groups/#{group}/folders/#{folder}", params) end def list_group_folders(group, params = {}) get("/api/v1/groups/#{group}/folders", params) end def create_group_folder(group, params = {}) post("/api/v1/groups/#{group}/folders", params) end end end end