lib/bearcat/client/sections.rb in bearcat-1.3.46 vs lib/bearcat/client/sections.rb in bearcat-1.3.47

- old
+ new

@@ -20,8 +20,16 @@ def delete_section(section) delete("/api/v1/sections/#{section.to_s}") end + def crosslist_section(section_id, new_course_id) + post("/api/v1/sections/#{section_id.to_s}/crosslist/#{new_course_id.to_s}") + end + + def decrosslist_section(section_id) + delete("/api/v1/sections/#{section_id.to_s}/crosslist") + end + end end end \ No newline at end of file