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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b1201d5f8298e96925130f8e386e4df34a3d0bef7a17aa0152844755e23e0ba7
4
- data.tar.gz: e9696958ff2d4456fe2189b84cf595dc1dab166894d46e40f39f3b5cf0957d41
3
+ metadata.gz: 259506801687592d0f4626cc36dd294dab4a030014726e1450337027c466a1c6
4
+ data.tar.gz: d48007d36ef2b1f96997b320db3a9b259d012b209f95d3df7938a03da815b60e
5
5
  SHA512:
6
- metadata.gz: 96a1fa6d22023d1552a05a99e375879ca046297b6d66a95d2652d5c494040f15f35e529bf81391cdb848b16a833043806ba71a559b65997e1383cfe268118a67
7
- data.tar.gz: cb3a6158e31b084aaf11117b3cc4fc9f45028bf48cd975e4a1093c1b08f6563958e31fc6477af8fd3020927e76fd713671f024281e960586d7e58d1791305b97
6
+ metadata.gz: 29a66afdcbb2bfa6fd0fbe1a062768280d6456c1e8368b1224cc25248858f5b5dfb81ab35a519ab0afb43c03720cbdaa41c9fcc47608da06d6bdbf0218b7000e
7
+ data.tar.gz: '093873d512c164b4bd7a1acd350645d5af12961500a8624743649697637c061b677d838b322f3e35e307c2a02304f2630fef2671aacccdcbbea3f6a25cbce2c0'
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- seamapi (1.3.1)
4
+ seamapi (1.3.2)
5
5
  http (~> 5.0.0)
6
6
 
7
7
  GEM
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Seam
4
- VERSION = "1.3.1"
4
+ VERSION = "1.3.2"
5
5
  end
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.1
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: 2022-12-15 00:00:00.000000000 Z
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