Module: Bearcat::Client::Rubric

Included in:
Bearcat::Client
Defined in:
lib/bearcat/client/rubric.rb

Instance Method Summary collapse

Instance Method Details

#course_rubric(course, rubric) ⇒ Object



5
6
7
# File 'lib/bearcat/client/rubric.rb', line 5

def course_rubric(course, rubric)
  get("api/v1/courses/#{course}/rubrics/#{rubric}")
end

#create_course_rubric(course, params = {}) ⇒ Object



9
10
11
# File 'lib/bearcat/client/rubric.rb', line 9

def create_course_rubric(course, params={})
  post("api/v1/courses/#{course}/rubrics/", params)
end

#delete_course_rubric(course, rubric) ⇒ Object



17
18
19
# File 'lib/bearcat/client/rubric.rb', line 17

def delete_course_rubric(course, rubric)
  delete("api/v1/courses/#{course}/rubrics/#{rubric}")
end

#update_course_rubric(course, rubric, params = {}) ⇒ Object



13
14
15
# File 'lib/bearcat/client/rubric.rb', line 13

def update_course_rubric(course, rubric, params={})
  put("api/v1/courses/#{course}/rubrics/#{rubric}", params)
end