bearcat 1.3.40 → 1.3.41
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bearcat/client/rubric.rb +8 -2
- data/lib/bearcat/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83fbc1f2599ab69dd881a88b597015c8fe5ac4a0
|
4
|
+
data.tar.gz: 57a32c2199e0f892480440f18ed8d76c288fff93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6da0680d1cb4c83329a4ff1adee8ea98e109550439c8a72cb664ec9afd18acc4ce98d83574aa93757e8de878bf7f90cb8f5c1a1b7382035dc81f55697753c56
|
7
|
+
data.tar.gz: f61d3843b491978140f5930cad9981c22db7025a90b0f22706087f389ba87d4968a28217ef1300ee3a6dbd924ee1987af9799d82c68428b21ba2389785e71cc3
|
@@ -1,11 +1,14 @@
|
|
1
1
|
module Bearcat
|
2
2
|
class Client < Footrest::Client
|
3
3
|
module Rubric
|
4
|
-
|
5
4
|
def course_rubric(course, rubric)
|
6
5
|
get("api/v1/courses/#{course}/rubrics/#{rubric}")
|
7
6
|
end
|
8
7
|
|
8
|
+
def course_rubrics(course, params={})
|
9
|
+
get("api/v1/courses/#{course}/rubrics", params)
|
10
|
+
end
|
11
|
+
|
9
12
|
def create_course_rubric(course, params={})
|
10
13
|
post("api/v1/courses/#{course}/rubrics/", params)
|
11
14
|
end
|
@@ -18,6 +21,9 @@ module Bearcat
|
|
18
21
|
delete("api/v1/courses/#{course}/rubrics/#{rubric}")
|
19
22
|
end
|
20
23
|
|
24
|
+
def account_rubrics(account, params={})
|
25
|
+
get("api/v1/accounts/#{account}/rubrics", params={})
|
26
|
+
end
|
21
27
|
end
|
22
28
|
end
|
23
|
-
end
|
29
|
+
end
|
data/lib/bearcat/version.rb
CHANGED