seamapi 1.15.0 → 1.16.0

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: 7a008c7c331229587d9cdb2d776d207949e33d401d694c4c64c3aa90df5604fa
4
- data.tar.gz: 9cd223c040175fe53e20517e9f8cc04f8240de128c16d3e214ad3344283d0b67
3
+ metadata.gz: 7ffefb571c18da3f57a9b706a44cd6f992028b8a69995f4450cb13f16a25bbb6
4
+ data.tar.gz: a30b8bd1892398ed277917edd8ddbeb9ebbca97df4a044d440e0faeb898d45ee
5
5
  SHA512:
6
- metadata.gz: ac2f1edc331347b82268ab3a9a3333f39bd0469c5c068fa8fe366abc6235347862030e36a09256c8247e2f8c64d6ed6abd6046fb952302a870c4e730bf5f752b
7
- data.tar.gz: 322dec6e206d881891d423562d36fcd6a7d1bbaf90dedc0dffaec7f5c50dddfb120d5cacd1ecf4f3698b55e69fac968a84865705dcd594babaee75871702e829
6
+ metadata.gz: 72f773c8446426579adc3c1a1111ff19b5ce2deb3d8b3f7d81ecef4ce1540b59e2807fc4d9400c79f03b3e16bf22bf350629af17ea4f3bb97129c8a2704a9d69
7
+ data.tar.gz: 78302154b7b2b9bf85dd5c4482ef98d35c70945bec85d67b6daff20012cba8d097c2b74a26ba75701e1aeb3d02d5f3e2eef294b2c3a14fb671adde6ff0a48246
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- seamapi (1.15.0)
4
+ seamapi (1.16.0)
5
5
  http (~> 5.0.0)
6
6
 
7
7
  GEM
@@ -41,6 +41,20 @@ module Seam
41
41
  action_attempt.wait_until_finished
42
42
  action_attempt
43
43
  end
44
+
45
+ def delete(access_code_id)
46
+ action_attempt = request_seam_object(
47
+ :post,
48
+ "/access_codes/unmanaged/delete",
49
+ Seam::ActionAttempt,
50
+ "action_attempt",
51
+ body: {
52
+ access_code_id: access_code_id
53
+ }
54
+ )
55
+ action_attempt.wait_until_finished
56
+ action_attempt
57
+ end
44
58
  end
45
59
  end
46
60
  end
data/lib/seam/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Seam
4
- VERSION = "1.15.0"
4
+ VERSION = "1.16.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: seamapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.15.0
4
+ version: 1.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seam Labs, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-30 00:00:00.000000000 Z
11
+ date: 2023-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http