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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 979f150c8a242389be11979cd6bc26a6dd7c996610aa6da98e97cd1df9d40f9e
4
- data.tar.gz: 921808a0ca4f8cff40ffd0419cb272b7cc64001d19afacb33b68c6972cdd34a6
3
+ metadata.gz: a5f5d589ba0ee72ff541301d0c33340e2c35ec17980a0a3c0acc69e5edfeb88d
4
+ data.tar.gz: 47d61608a6718436369159d41dbb62dda49d9d7524c2a97b73094d1a9da386d4
5
5
  SHA512:
6
- metadata.gz: 41e6b6baf1e3b20126899affb782cfc4c62d59da01e2ca77f9438045cfbbd5a1775810e13aae9c53c1e93d6e3ec9034696aff766a2b7b365316a3a19cf94aae4
7
- data.tar.gz: 360403f273900072482828eb987a12b92203d0d561aa1f204bc35f83e958c75b14ebe04ef1a0d2c33dd6141a8d62a534a809fe3de93a8a460d24a80076708008
6
+ metadata.gz: bdf8b0be4199ee50aa7d31d8a12841edbb0617b7578b10c4187ffda8ac0c046795110f5e65ee03e7cbe712c6ddc8622b13d47faac16f0e12f6c95a77a0c88ddc
7
+ data.tar.gz: 586423464fa938e681407188ee4d1ed032a7db0e42c387aa69ce07a51957324a36c727b2d72a0faad9614ec397669715988a3a2c6744f20f2f3e453526dcd6cb
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- seamapi (1.11.0)
4
+ seamapi (1.11.2)
5
5
  http (~> 5.0.0)
6
6
 
7
7
  GEM
@@ -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
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Seam
4
- VERSION = "1.11.0"
4
+ VERSION = "1.11.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: seamapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.0
4
+ version: 1.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seam Labs, Inc.