bearcat 1.4.4 → 1.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/bearcat/client/folders.rb +28 -0
- data/lib/bearcat/version.rb +1 -1
- metadata +7 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 2c176a06e4394ae9d9b06de7598aa0df7fd2749b03c184ba0a385d10b1145dcf
|
4
|
+
data.tar.gz: 2d60de0bfef518cf0b15bee2a513b8bb1efa96c8d2bfb20055f6f059dfccff20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70a551cdcde8d17ac8b80013f3822634b0f787b64bc701d2affdeedb8b4b8e30e1266dec2c5d8c698ffc268299560c154edef99378b139ca9da8d429f40fe520
|
7
|
+
data.tar.gz: ec15f66f28ca2e30e76779e666615bae48040267b385c5df34fe23e0ee4bed923e18054e2799479dbf36369d75d9c39d85efda648a70fd4338aa1151b4596527
|
@@ -2,6 +2,10 @@ module Bearcat
|
|
2
2
|
class Client < Footrest::Client
|
3
3
|
module Folders
|
4
4
|
|
5
|
+
def get_courose_folder(course, folder, params = {})
|
6
|
+
get("/api/v1/courses/#{course}/folders/#{folder}", params)
|
7
|
+
end
|
8
|
+
|
5
9
|
def list_course_folders(course, params = {})
|
6
10
|
get("/api/v1/courses/#{course}/folders", params)
|
7
11
|
end
|
@@ -9,6 +13,30 @@ module Bearcat
|
|
9
13
|
def create_course_folder(course, params = {})
|
10
14
|
post("/api/v1/courses/#{course}/folders", params)
|
11
15
|
end
|
16
|
+
|
17
|
+
def get_user_folder(user, folder, params)
|
18
|
+
get("/api/v1/users/#{user}/folders/#{folder}", params)
|
19
|
+
end
|
20
|
+
|
21
|
+
def list_user_folders(user, params = {})
|
22
|
+
get("/api/v1/users/#{user}/folders", params)
|
23
|
+
end
|
24
|
+
|
25
|
+
def create_user_folder(user, params = {})
|
26
|
+
post("/api/v1/users/#{user}/folders", params)
|
27
|
+
end
|
28
|
+
|
29
|
+
def get_group_folder(group, folder, params)
|
30
|
+
get("/api/v1/groups/#{group}/folders/#{folder}", params)
|
31
|
+
end
|
32
|
+
|
33
|
+
def list_group_folders(group, params = {})
|
34
|
+
get("/api/v1/groups/#{group}/folders", params)
|
35
|
+
end
|
36
|
+
|
37
|
+
def create_group_folder(group, params = {})
|
38
|
+
post("/api/v1/groups/#{group}/folders", params)
|
39
|
+
end
|
12
40
|
end
|
13
41
|
end
|
14
42
|
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.4.
|
4
|
+
version: 1.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Mills, Jake Sorce
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-08-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -363,10 +363,10 @@ files:
|
|
363
363
|
- spec/fixtures/user_page_views.json
|
364
364
|
- spec/fixtures/user_profile.json
|
365
365
|
- spec/helper.rb
|
366
|
-
homepage:
|
366
|
+
homepage:
|
367
367
|
licenses: []
|
368
368
|
metadata: {}
|
369
|
-
post_install_message:
|
369
|
+
post_install_message:
|
370
370
|
rdoc_options: []
|
371
371
|
require_paths:
|
372
372
|
- lib
|
@@ -381,9 +381,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
381
381
|
- !ruby/object:Gem::Version
|
382
382
|
version: '0'
|
383
383
|
requirements: []
|
384
|
-
|
385
|
-
|
386
|
-
signing_key:
|
384
|
+
rubygems_version: 3.1.2
|
385
|
+
signing_key:
|
387
386
|
specification_version: 4
|
388
387
|
summary: Canvas API
|
389
388
|
test_files:
|