qalam_oauth_engine 2.2.9 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/canvas_oauth/canvas_api.rb +4 -0
- data/lib/canvas_oauth/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c279d51629e80dacd77e7c365883cf2ffb44ea9fd77dec8effd0488c9ef91f8e
|
4
|
+
data.tar.gz: 6e70cf4d4b5c336df62942203e1c813218bf65b035b9ebf3a692cbf781cfaa7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57ee1b2f2d570024c32e4f0c215e55e461ce7b1f3975b645570f3b7771f31f409c79bd72cd0f2394f2ba2840716c3bad59516ae606d565edc4e10af84b8abb32
|
7
|
+
data.tar.gz: d40987744306c6069faf0efeec603f88847be0de290c91dcf43bdc3d44f2ad8e9de03bf696bb6a2a525e672865c0543eb7a86d5e5efe288314e4f58fd5dcf6cd
|
@@ -317,6 +317,10 @@ module CanvasOauth
|
|
317
317
|
authenticated_get "/api/v1/accounts/#{account_id}/school_account"
|
318
318
|
end
|
319
319
|
|
320
|
+
def get_school_account_by_course(course_id)
|
321
|
+
authenticated_get "/api/v1/courses/#{course_id}/school_account"
|
322
|
+
end
|
323
|
+
|
320
324
|
def get_students_by_grade(account_id, grade_id)
|
321
325
|
paginated_get "/api/v1/accounts/#{account_id}/students_by_grade/#{grade_id}"
|
322
326
|
end
|
data/lib/canvas_oauth/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qalam_oauth_engine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dave Donahue
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2021-04-
|
14
|
+
date: 2021-04-21 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: httparty
|