seamapi 1.3.1 → 1.3.2
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/lib/seam/clients/devices.rb +10 -0
- data/lib/seam/resources/connect_webview.rb +1 -1
- data/lib/seam/resources/device_provider.rb +10 -0
- data/lib/seam/version.rb +1 -1
- data/lib/seamapi.rb +1 -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: 259506801687592d0f4626cc36dd294dab4a030014726e1450337027c466a1c6
|
4
|
+
data.tar.gz: d48007d36ef2b1f96997b320db3a9b259d012b209f95d3df7938a03da815b60e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29a66afdcbb2bfa6fd0fbe1a062768280d6456c1e8368b1224cc25248858f5b5dfb81ab35a519ab0afb43c03720cbdaa41c9fcc47608da06d6bdbf0218b7000e
|
7
|
+
data.tar.gz: '093873d512c164b4bd7a1acd350645d5af12961500a8624743649697637c061b677d838b322f3e35e307c2a02304f2630fef2671aacccdcbbea3f6a25cbce2c0'
|
data/Gemfile.lock
CHANGED
data/lib/seam/clients/devices.rb
CHANGED
@@ -22,6 +22,16 @@ module Seam
|
|
22
22
|
params: {device_id: device_id}
|
23
23
|
)
|
24
24
|
end
|
25
|
+
|
26
|
+
def list_device_providers(params = {})
|
27
|
+
request_seam_object(
|
28
|
+
:get,
|
29
|
+
"/devices/list_device_providers",
|
30
|
+
Seam::DeviceProvider,
|
31
|
+
"device_providers",
|
32
|
+
params: params
|
33
|
+
)
|
34
|
+
end
|
25
35
|
end
|
26
36
|
end
|
27
37
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module Seam
|
4
4
|
class ConnectWebview < BaseResource
|
5
5
|
attr_accessor :connect_webview_id, :custom_redirect_url, :custom_redirect_failure_url, :url,
|
6
|
-
:workspace_id, :device_selection_mode, :accepted_providers, :accepted_devices,
|
6
|
+
:workspace_id, :device_selection_mode, :accepted_providers, :selected_provider, :accepted_devices,
|
7
7
|
:any_provider_allowed, :any_device_allowed, :login_successful, :status
|
8
8
|
|
9
9
|
date_accessor :created_at
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Seam
|
4
|
+
class DeviceProvider < BaseResource
|
5
|
+
attr_accessor :device_provider_name, :display_name, :image_url, :provider_categories
|
6
|
+
|
7
|
+
include Seam::ResourceErrorsSupport
|
8
|
+
include Seam::ResourceWarningsSupport
|
9
|
+
end
|
10
|
+
end
|
data/lib/seam/version.rb
CHANGED
data/lib/seamapi.rb
CHANGED
@@ -19,6 +19,7 @@ require_relative "seam/resources/resource_error"
|
|
19
19
|
require_relative "seam/resources/resource_warnings_support"
|
20
20
|
require_relative "seam/resources/resource_errors_support"
|
21
21
|
require_relative "seam/resources/device"
|
22
|
+
require_relative "seam/resources/device_provider"
|
22
23
|
require_relative "seam/resources/access_code"
|
23
24
|
require_relative "seam/resources/action_attempt"
|
24
25
|
require_relative "seam/resources/connect_webview"
|
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.3.
|
4
|
+
version: 1.3.2
|
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:
|
11
|
+
date: 2023-03-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http
|
@@ -179,6 +179,7 @@ files:
|
|
179
179
|
- lib/seam/resources/connect_webview.rb
|
180
180
|
- lib/seam/resources/connected_account.rb
|
181
181
|
- lib/seam/resources/device.rb
|
182
|
+
- lib/seam/resources/device_provider.rb
|
182
183
|
- lib/seam/resources/event.rb
|
183
184
|
- lib/seam/resources/resource_error.rb
|
184
185
|
- lib/seam/resources/resource_errors_support.rb
|