seamapi 1.15.0 → 1.16.1

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: 59707fd30b06cfed95a0faa28ea666dbcff8d9b55ffdfb15bf22ac094e6d56c0
4
+ data.tar.gz: 6df4cafd7db4c6d0a61e63ab2a1aeb8dc30a3f830792ab87ceb3d775669ebd54
5
5
  SHA512:
6
- metadata.gz: ac2f1edc331347b82268ab3a9a3333f39bd0469c5c068fa8fe366abc6235347862030e36a09256c8247e2f8c64d6ed6abd6046fb952302a870c4e730bf5f752b
7
- data.tar.gz: 322dec6e206d881891d423562d36fcd6a7d1bbaf90dedc0dffaec7f5c50dddfb120d5cacd1ecf4f3698b55e69fac968a84865705dcd594babaee75871702e829
6
+ metadata.gz: a61158ebb0e4d931e4572cd7799c0d84ac48169db48e79565ac64f42f78aa743a221d0bf837d7399026ec282b871a22c6ef3ef6d3805ddc20889df509d5d15a1
7
+ data.tar.gz: 640f24b2e312bb8274b6f78acd6edd4cb66c7563c282ae7115c5f2e5d0f356d0210294529396910fd2559a2aed6cfe812f4428bd7e2fcbab09ff7a61b74f964c
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- seamapi (1.15.0)
5
- http (~> 5.0.0)
4
+ seamapi (1.16.1)
5
+ http (~> 5.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
@@ -15,15 +15,14 @@ GEM
15
15
  rexml
16
16
  diff-lcs (1.5.0)
17
17
  docile (1.4.0)
18
- domain_name (0.5.20190701)
19
- unf (>= 0.0.5, < 1.0.0)
18
+ domain_name (0.6.20231109)
20
19
  ffi (1.16.3)
21
20
  ffi-compiler (1.0.1)
22
21
  ffi (>= 1.0.0)
23
22
  rake
24
23
  gem-release (2.2.2)
25
24
  hashdiff (1.0.1)
26
- http (5.0.4)
25
+ http (5.1.1)
27
26
  addressable (~> 2.8)
28
27
  http-cookie (~> 1.0)
29
28
  http-form_data (~> 2.2)
@@ -94,9 +93,6 @@ GEM
94
93
  terminal-table (3.0.2)
95
94
  unicode-display_width (>= 1.1.1, < 3)
96
95
  thor (1.2.1)
97
- unf (0.1.4)
98
- unf_ext
99
- unf_ext (0.0.8.2)
100
96
  unicode-display_width (2.3.0)
101
97
  webmock (3.0.1)
102
98
  addressable (>= 2.3.6)
@@ -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.1"
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.1
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-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 5.0.0
19
+ version: '5.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 5.0.0
26
+ version: '5.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement