bridge_api 0.1.63 → 0.1.65

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f7d6ea6a260943cb99e83ffdd26cf7c0e68d0d383ca31e7cd96a16065261903a
4
- data.tar.gz: a8e36b9a696de1d2245dcb8bea4844a21fac2b6da185032b07101d424e66143c
3
+ metadata.gz: 26f9e6709bd07c223abe25618440dcd91fa8dfa424855df2bcffa0376f3d5290
4
+ data.tar.gz: 270edf1665d386d3e707aa368a302da3bf9993a291d7b0055b48c30d1ead49ab
5
5
  SHA512:
6
- metadata.gz: c9fb10e6dc27d66c2ba3273ebfd7b0770245590256d1782be1cf9398b3a61c4ef36e2af7677da48322cabc35d0ca932a2ab3828f650b523e0ba85f71e6b3db14
7
- data.tar.gz: a828d6bef4d11150bd2b4968fdeb81908c06e44de3ab8fb044fff5bc09c61b586d15c466b12ca41496bb5e3d1d5990ab12464691d6b6876327b7094451fd58e8
6
+ metadata.gz: 773ce41dcfbee8d5abebd3bd963695df37906e7f7bda0c28cd3318cc5ce386b432dde7cc23d5feda92ddbdc651f0fd7e0e8b6521ec8a687d4d1616373a2b990d
7
+ data.tar.gz: 306474b03b78a2b5ca63ca16807fdf06a16e20a57af2447186da801a1fb032bab091ba672a3a6fd6a3b4752b88ef5a942efda93511e74b1d0cbef94dbcc9b14d
@@ -10,6 +10,10 @@ module BridgeAPI
10
10
  def get_program(program_id, params = {})
11
11
  get("#{API_PATH}#{AUTHOR_PATH}#{PROGRAM_PATH}/#{program_id}", params)
12
12
  end
13
+
14
+ def complete_program(program_id, params = {})
15
+ post("#{API_PATH}#{ADMIN_PATH}#{PROGRAM_PATH}/#{program_id}/completions", params)
16
+ end
13
17
  end
14
18
  end
15
19
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BridgeAPI
4
- VERSION = '0.1.63' unless defined?(BridgeAPI::VERSION)
4
+ VERSION = '0.1.65' unless defined?(BridgeAPI::VERSION)
5
5
  end
@@ -60,6 +60,10 @@ class FakeBridge < Sinatra::Base
60
60
  get_json_data 204, nil
61
61
  end
62
62
 
63
+ post %r{/api/author/programs/\d+/completions} do
64
+ get_json_data 204, nil
65
+ end
66
+
63
67
  delete %r{/api/author/programs/\d+/learners} do
64
68
  get_json_data 204, nil
65
69
  end
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.63
4
+ version: 0.1.65
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jay Shaffer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-19 00:00:00.000000000 Z
11
+ date: 2020-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler