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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7ed75a573ba7cbabb73f5450ed2e7cf4998327f9663df1baf294b56dd61556f9
4
- data.tar.gz: 181f1b84160f1fbb3eabedf327cecf36794986dbf236739c35d22d01466ac8c8
3
+ metadata.gz: 98adfee41773a5d279e290d2a14008a10bb5cb6027f18057e7c33a2d67de42ed
4
+ data.tar.gz: 3a3abba018676e340119a0ad2c973d38f3e580de26b97a9580604a024656432a
5
5
  SHA512:
6
- metadata.gz: 757dc798db47650488d3faef6b57269e190bfca786e20b4ab20809d6bfc3061007cd238b4264495d8eca46891a89c2c1448e56c0ff83dde85f2a8c84fb020ccf
7
- data.tar.gz: 89e16ec48c0116812fb423ab407a66142f14fb26896ff2288b2e14a3a5eee6d89e2e78c5746a93db6f3ee30cf8e1fb38ed4b2d4f83dcacfe3e6c1cfc7855ff10
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
@@ -1,3 +1,3 @@
1
1
  module Bearcat
2
- VERSION = '1.5.11' unless defined?(Bearcat::VERSION)
2
+ VERSION = '1.5.12' unless defined?(Bearcat::VERSION)
3
3
  end
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.11
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-10-27 00:00:00.000000000 Z
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