bearcat 1.4.7 → 1.4.8
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/tabs.rb +15 -0
- data/lib/bearcat/client.rb +2 -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: 9b90ec8e90ea31d17bebe5b08edbb4af296b201af79c052250c2655dedf734e6
|
4
|
+
data.tar.gz: db220f338bdcd6ad166fed415080eb7f65367c6db99e13781ad3b1cc1335be2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c3ada3e912c59d97757232c5451cc5ffc5fc1f289d3009d8a1e71cc24e556d0529b43742778b94ded2a73294a7bae7043dd302720e82f755cdbd2e5e930c10f
|
7
|
+
data.tar.gz: 6cbe47361dbfcb48cefc96353cf2cd34fc5e6974cbbaa673dc04b4363ed0d14669b3ed6c02b567a5266e08fdb1ede99402a498c7630b0a0ba38f2976cb96a40c
|
@@ -0,0 +1,15 @@
|
|
1
|
+
module Bearcat
|
2
|
+
class Client < Footrest::Client
|
3
|
+
module Tabs
|
4
|
+
|
5
|
+
def get_tabs(course, params={})
|
6
|
+
get("/api/v1/courses/#{course}/tabs", params)
|
7
|
+
end
|
8
|
+
|
9
|
+
def update_tab(id, course, params={})
|
10
|
+
put("/api/v1/courses/#{course}/tabs/#{id}", params)
|
11
|
+
end
|
12
|
+
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
data/lib/bearcat/client.rb
CHANGED
@@ -45,6 +45,7 @@ module Bearcat
|
|
45
45
|
require 'bearcat/client/rubric_assessment'
|
46
46
|
require 'bearcat/client/rubric_association'
|
47
47
|
require 'bearcat/client/progresses'
|
48
|
+
require 'bearcat/client/tabs'
|
48
49
|
|
49
50
|
include Assignments
|
50
51
|
include Accounts
|
@@ -86,6 +87,7 @@ module Bearcat
|
|
86
87
|
include RubricAssessment
|
87
88
|
include RubricAssociation
|
88
89
|
include Progresses
|
90
|
+
include Tabs
|
89
91
|
|
90
92
|
# Override Footrest request for ApiArray support
|
91
93
|
def request(method, &block)
|
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.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Mills, Jake Sorce
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -174,6 +174,7 @@ files:
|
|
174
174
|
- lib/bearcat/client/search.rb
|
175
175
|
- lib/bearcat/client/sections.rb
|
176
176
|
- lib/bearcat/client/submissions.rb
|
177
|
+
- lib/bearcat/client/tabs.rb
|
177
178
|
- lib/bearcat/client/users.rb
|
178
179
|
- lib/bearcat/spec_helpers.rb
|
179
180
|
- lib/bearcat/version.rb
|