Sha256: e82ac25736a96b603f6b54006e0c1f9a50c81ee0791daed3dc8f18b955da747f
Contents?: true
Size: 871 Bytes
Versions: 3
Compression:
Stored size: 871 Bytes
Contents
module Bearcat class Client < Footrest::Client module Modules def course_modules(course, params = {}) get("/api/v1/courses/#{course.to_s}/modules", params) end def course_module_item_sequence(course, params = {}) get("/api/v1/courses/#{course}/module_item_sequence", params) end def course_module(course_id, context_module_id, params={}) get("/api/v1/courses/#{course_id}/modules/#{context_module_id}", params) end def create_module(course, params={}) post("/api/v1/courses/#{course}/modules", params) end def update_module(course, module_id, params={}) put("/api/v1/courses/#{course}/modules/#{module_id}") end def delete_module(course, module_id, params={}) delete("/api/v1/courses/#{course}/modules/#{module_id}") end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bearcat-1.3.43 | lib/bearcat/client/modules.rb |
bearcat-1.3.41 | lib/bearcat/client/modules.rb |
bearcat-1.3.40 | lib/bearcat/client/modules.rb |