lib/seam/clients/unmanaged_devices.rb in seamapi-1.11.2 vs lib/seam/clients/unmanaged_devices.rb in seamapi-1.12.0
- old
+ new
@@ -1,9 +1,22 @@
# frozen_string_literal: true
module Seam
module Clients
class UnmanagedDevices < BaseClient
+ def get(device_id = nil, name: nil)
+ request_seam_object(
+ :get,
+ "/devices/unmanaged/get",
+ Seam::UnmanagedDevice,
+ "device",
+ params: {
+ device_id: device_id,
+ name: name
+ }.compact
+ )
+ end
+
def list(params = {})
request_seam_object(
:get,
"/devices/unmanaged/list",
Seam::UnmanagedDevice,