bearcat 1.5.5 → 1.5.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bearcat/version.rb +1 -1
- data/lib/catalogcat/api_array.rb +1 -0
- data/lib/catalogcat/client/certificates.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f21ad17cf7cd2e8157f04e429943c0483c42d5cb7438f3e8708ad6f85f58bc9d
|
4
|
+
data.tar.gz: 6350855a61b9d18121eab67e1f09ebbc3625ac8a52a1f6b669bf5ac6f47ee447
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 621f03512619d6845e278882918b7ada0d2bb81ad7b1cc3737f4ebe0527b753709df2a4e17b7b44ad7416fe0634fb06b57d61a6c680e6c1e62c2adcf68485dee
|
7
|
+
data.tar.gz: 3ebdcc2ba0809d4407eaba804b3cec69f4f7ea7b9182cebd60738f1de0c112017793e9db267e54f63c76091b251d37c71bc0d4871234ee21d2a091d14f07a603
|
data/lib/bearcat/version.rb
CHANGED
data/lib/catalogcat/api_array.rb
CHANGED
@@ -11,6 +11,7 @@ module Catalogcat
|
|
11
11
|
key = 'catalogs' if path =~ %r{.*/catalogs}
|
12
12
|
key = 'enrollments' if path =~ %r{.*/enrollments}
|
13
13
|
key = 'order' if path =~ %r{.*/order/[0-9]*}
|
14
|
+
key = 'orders' if path =~ %r{.*/orders}
|
14
15
|
key = 'completed_certificates' if path =~ %r{.*/completed_certificates}
|
15
16
|
key = 'user_registrations' if path =~ %r{.*/user_registrations}
|
16
17
|
end
|
@@ -1,6 +1,10 @@
|
|
1
1
|
module Catalogcat
|
2
2
|
class Client < Footrest::Client
|
3
3
|
module Certificates
|
4
|
+
def listing_certificate(listing_id, params = {})
|
5
|
+
get("/api/v1/certificates?certificate[listing_id]=#{listing_id}", params)
|
6
|
+
end
|
7
|
+
|
4
8
|
def create_certificate(params = {})
|
5
9
|
post('/api/v1/certificates', params)
|
6
10
|
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.
|
4
|
+
version: 1.5.6
|
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-
|
11
|
+
date: 2023-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|