bearcat 1.5.5 → 1.5.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0f45f61beb5bf6de6be81d2addef3e0abc7a5f9542e343091c40f50bde572f40
4
- data.tar.gz: 2e7c146f8c8b42c2311e9fa28c0d4846c4d15335148655b7af883137cd337d4b
3
+ metadata.gz: f21ad17cf7cd2e8157f04e429943c0483c42d5cb7438f3e8708ad6f85f58bc9d
4
+ data.tar.gz: 6350855a61b9d18121eab67e1f09ebbc3625ac8a52a1f6b669bf5ac6f47ee447
5
5
  SHA512:
6
- metadata.gz: 76e66a0e528357694ad74e1580f0e04587e511a31849cd7605c5c1c7dac56936828007a8bc1c597017009909759343fd8cbce494a1d26ce081d43724cfe918c8
7
- data.tar.gz: e171e4b69ee814abdd4c6fa8555dc40518538985bea7738b4955a77acb516ce8d21c46acc1c1baadc756329352f7085315d6a4132d8860414dd96fd58eb9cc09
6
+ metadata.gz: 621f03512619d6845e278882918b7ada0d2bb81ad7b1cc3737f4ebe0527b753709df2a4e17b7b44ad7416fe0634fb06b57d61a6c680e6c1e62c2adcf68485dee
7
+ data.tar.gz: 3ebdcc2ba0809d4407eaba804b3cec69f4f7ea7b9182cebd60738f1de0c112017793e9db267e54f63c76091b251d37c71bc0d4871234ee21d2a091d14f07a603
@@ -1,3 +1,3 @@
1
1
  module Bearcat
2
- VERSION = '1.5.5' unless defined?(Bearcat::VERSION)
2
+ VERSION = '1.5.6' unless defined?(Bearcat::VERSION)
3
3
  end
@@ -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.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-07-28 00:00:00.000000000 Z
11
+ date: 2023-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake