seamapi 1.11.0 → 1.11.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/connect_webviews.rb +4 -2
- data/lib/seam/clients/devices.rb +2 -2
- data/lib/seam/resources/connect_webview.rb +2 -1
- data/lib/seam/resources/device.rb +2 -1
- data/lib/seam/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5f5d589ba0ee72ff541301d0c33340e2c35ec17980a0a3c0acc69e5edfeb88d
|
4
|
+
data.tar.gz: 47d61608a6718436369159d41dbb62dda49d9d7524c2a97b73094d1a9da386d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bdf8b0be4199ee50aa7d31d8a12841edbb0617b7578b10c4187ffda8ac0c046795110f5e65ee03e7cbe712c6ddc8622b13d47faac16f0e12f6c95a77a0c88ddc
|
7
|
+
data.tar.gz: 586423464fa938e681407188ee4d1ed032a7db0e42c387aa69ce07a51957324a36c727b2d72a0faad9614ec397669715988a3a2c6744f20f2f3e453526dcd6cb
|
data/Gemfile.lock
CHANGED
@@ -30,7 +30,8 @@ module Seam
|
|
30
30
|
custom_metadata: nil,
|
31
31
|
automatically_manage_new_devices: nil,
|
32
32
|
device_selection_mode: nil,
|
33
|
-
provider_category: nil
|
33
|
+
provider_category: nil,
|
34
|
+
wait_for_device_creation: nil
|
34
35
|
)
|
35
36
|
request_seam_object(
|
36
37
|
:post,
|
@@ -44,7 +45,8 @@ module Seam
|
|
44
45
|
automatically_manage_new_devices: automatically_manage_new_devices,
|
45
46
|
device_selection_mode: device_selection_mode,
|
46
47
|
custom_metadata: custom_metadata,
|
47
|
-
provider_category: provider_category
|
48
|
+
provider_category: provider_category,
|
49
|
+
wait_for_device_creation: wait_for_device_creation
|
48
50
|
}.compact
|
49
51
|
)
|
50
52
|
end
|
data/lib/seam/clients/devices.rb
CHANGED
@@ -13,13 +13,13 @@ module Seam
|
|
13
13
|
)
|
14
14
|
end
|
15
15
|
|
16
|
-
def get(device_id)
|
16
|
+
def get(device_id = nil, name: nil)
|
17
17
|
request_seam_object(
|
18
18
|
:get,
|
19
19
|
"/devices/get",
|
20
20
|
Seam::Device,
|
21
21
|
"device",
|
22
|
-
params: {device_id: device_id}
|
22
|
+
params: {device_id: device_id, name: name}.compact
|
23
23
|
)
|
24
24
|
end
|
25
25
|
|
@@ -4,7 +4,8 @@ module Seam
|
|
4
4
|
class ConnectWebview < BaseResource
|
5
5
|
attr_accessor :connect_webview_id, :connected_account_id, :custom_redirect_url, :custom_redirect_failure_url, :url,
|
6
6
|
:workspace_id, :device_selection_mode, :accepted_providers, :selected_provider, :accepted_devices,
|
7
|
-
:any_provider_allowed, :any_device_allowed, :login_successful, :status, :custom_metadata
|
7
|
+
:any_provider_allowed, :any_device_allowed, :login_successful, :status, :custom_metadata,
|
8
|
+
:automatically_manage_new_devices, :wait_for_device_creation
|
8
9
|
|
9
10
|
date_accessor :created_at
|
10
11
|
end
|
@@ -2,7 +2,8 @@
|
|
2
2
|
|
3
3
|
module Seam
|
4
4
|
class Device < BaseResource
|
5
|
-
attr_accessor :device_id, :device_type, :properties, :connected_account_id, :workspace_id
|
5
|
+
attr_accessor :device_id, :device_type, :properties, :connected_account_id, :workspace_id, :capabilities_supported,
|
6
|
+
:is_managed
|
6
7
|
|
7
8
|
date_accessor :created_at
|
8
9
|
|
data/lib/seam/version.rb
CHANGED