seamapi 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/lib/seam/client.rb +4 -0
- data/lib/seam/resources/event.rb +9 -0
- data/lib/seam/version.rb +1 -1
- data/lib/seamapi.rb +2 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0df63b14d75eb93006166eff214e8e4fb67157fde24b958191c553db320e059f
|
4
|
+
data.tar.gz: 0234fe95e725d46ef918245cb404eaedc5a9d1a1ffbfc5bd04e7bcb8db0b075e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4dfca5bd60f436a03af06b8a6d06b7105567d1f04728f2c370db478a35f2a686756cdeafa6811c3b8b07092c98f71e006d86775c679d66f33734d5ad8cccc643
|
7
|
+
data.tar.gz: b19ca70f71e6da7b8ca011a090b843b7e7faa055383265d2c82782a7ac67877a44da2e5c9a0324c0f7d98c49c140fdefe1952cfb49d59cbb89e34f15d0670b0e
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -16,7 +16,7 @@ This library includes:
|
|
16
16
|
|
17
17
|
- A predefined set of classes for API resources that
|
18
18
|
initialize themselves dynamically from API responses.
|
19
|
-
- Methods for all [Seam API endpoints].
|
19
|
+
- Methods for all [Seam API endpoints](https://docs.seam.co/latest/api-clients/overview).
|
20
20
|
- Simplified asynchronous flows, e.g., listening for events or actions to finish.
|
21
21
|
|
22
22
|
[Seam API endpoints]: https://docs.seam.co/latest/api-endpoints/overview
|
data/lib/seam/client.rb
CHANGED
@@ -44,6 +44,10 @@ module Seam
|
|
44
44
|
@workspaces ||= Seam::Clients::Workspaces.new(self)
|
45
45
|
end
|
46
46
|
|
47
|
+
def events
|
48
|
+
@events ||= Seam::Clients::Events.new(self)
|
49
|
+
end
|
50
|
+
|
47
51
|
def request_seam_object(method, path, klass, inner_object, config = {})
|
48
52
|
response = request_seam(method, path, config)
|
49
53
|
|
data/lib/seam/version.rb
CHANGED
data/lib/seamapi.rb
CHANGED
@@ -12,6 +12,7 @@ require_relative "seam/clients/connect_webviews"
|
|
12
12
|
require_relative "seam/clients/connected_accounts"
|
13
13
|
require_relative "seam/clients/access_codes"
|
14
14
|
require_relative "seam/clients/action_attempts"
|
15
|
+
require_relative "seam/clients/events"
|
15
16
|
require_relative "seam/resources/base_resource"
|
16
17
|
require_relative "seam/resources/resource_warning"
|
17
18
|
require_relative "seam/resources/resource_error"
|
@@ -23,6 +24,7 @@ require_relative "seam/resources/action_attempt"
|
|
23
24
|
require_relative "seam/resources/connect_webview"
|
24
25
|
require_relative "seam/resources/connected_account"
|
25
26
|
require_relative "seam/resources/workspace"
|
27
|
+
require_relative "seam/resources/event"
|
26
28
|
|
27
29
|
module Seam
|
28
30
|
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.
|
4
|
+
version: 1.3.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: 2022-12-
|
11
|
+
date: 2022-12-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http
|
@@ -168,6 +168,7 @@ files:
|
|
168
168
|
- lib/seam/resources/action_attempt.rb
|
169
169
|
- lib/seam/resources/connect_webview.rb
|
170
170
|
- lib/seam/resources/connected_account.rb
|
171
|
+
- lib/seam/resources/event.rb
|
171
172
|
- lib/seam/resources/resource_error.rb
|
172
173
|
- lib/seam/resources/resource_errors_support.rb
|
173
174
|
- lib/seam/resources/resource_warning.rb
|