lib/seam/clients/devices.rb in seamapi-1.11.1 vs lib/seam/clients/devices.rb in seamapi-1.11.2

- old
+ new

@@ -11,16 +11,16 @@ "devices", params: params ) end - def get(device_id) + def get(device_id = nil, name: nil) request_seam_object( :get, "/devices/get", Seam::Device, "device", - params: {device_id: device_id} + params: {device_id: device_id, name: name}.compact ) end def update(device_id: nil, is_managed: nil, name: nil, properties: nil) request_seam(