bearcat 1.5.11 → 1.5.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/bearcat/client/sis_imports.rb +14 -0
- data/lib/bearcat/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98adfee41773a5d279e290d2a14008a10bb5cb6027f18057e7c33a2d67de42ed
|
4
|
+
data.tar.gz: 3a3abba018676e340119a0ad2c973d38f3e580de26b97a9580604a024656432a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 349914e8cee0d596cb27d05be332d1ccd13eb644019e5f69511c5daae99b3007d8e87001f8bbe6a40bab26d27083da692a1f5b0ab961af1338cee93bd06c4312
|
7
|
+
data.tar.gz: 94c1e1dc0072eb9d2b642b6d362b10bc17d78fac82cbbfd59b54d7c5155dd6686e8fe42b7a92d3a60c964a2d2b50d8a65f9a3f6859e30a4a5970e9a8e4efed3b
|
@@ -0,0 +1,14 @@
|
|
1
|
+
module Bearcat
|
2
|
+
class Client < Footrest::Client
|
3
|
+
module SisImports
|
4
|
+
def import_sis_data(account, file, options = {}, content_type: nil)
|
5
|
+
options['attachment'] = Faraday::UploadIO.new(file, content_type || "application/zip")
|
6
|
+
post("/api/v1/accounts/#{account}/sis_imports", options)
|
7
|
+
end
|
8
|
+
|
9
|
+
def sis_import_status(account, sis_id, options = {})
|
10
|
+
get("/api/v1/accounts/#{account}/sis_imports/#{sis_id}", options)
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
data/lib/bearcat/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bearcat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Instructure CustomDev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-11-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -199,6 +199,7 @@ files:
|
|
199
199
|
- lib/bearcat/client/rubric_association.rb
|
200
200
|
- lib/bearcat/client/search.rb
|
201
201
|
- lib/bearcat/client/sections.rb
|
202
|
+
- lib/bearcat/client/sis_imports.rb
|
202
203
|
- lib/bearcat/client/submissions.rb
|
203
204
|
- lib/bearcat/client/tabs.rb
|
204
205
|
- lib/bearcat/client/users.rb
|