bridge_api 0.1.44 → 0.1.45
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bridge_api/client/sub_account.rb +4 -0
- data/lib/bridge_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a0ef44a87607ef368b0b0588923fd7372c144217
|
4
|
+
data.tar.gz: 3d0afc4f1406d69b340ac373d3c3e0ab5ce456af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6094eae3cdac28abf10166ac5ead71957ff899f46553b1b36e400284f7ec1f132a21e510419d2d5d84dae5cf7f5ca7db0b15c8ca95481bfb966e1dfa14fe9768
|
7
|
+
data.tar.gz: 8161d42e966c431f94b00a58bf3ff63aab57e87d26750380e2343727b144e637bd22a66e15eb7bfa337bfbd4321955fa7534473e6215ca564a4e2103b8ec58bc
|
@@ -21,6 +21,10 @@ module BridgeAPI
|
|
21
21
|
put("#{API_PATH}#{ADMIN_PATH}#{SUB_ACCOUNT_PATH}/#{subaccount_id}", params)
|
22
22
|
end
|
23
23
|
|
24
|
+
def update_subaccount_auth(params = {})
|
25
|
+
put("#{API_PATH}/config/sub_account/auth", params)
|
26
|
+
end
|
27
|
+
|
24
28
|
def share_course_with_subaccount(course_template_id, params = {})
|
25
29
|
put("#{API_PATH}#{AUTHOR_PATH}#{COURSE_TEMPLATE_PATH}/#{course_template_id}/#{SUB_ACCOUNT_PATH}/share", params)
|
26
30
|
end
|
data/lib/bridge_api/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bridge_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.45
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jay Shaffer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-10-
|
11
|
+
date: 2018-10-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|