Sha256: 52df52448e2dee4d3ea3f34872d1b160a94525c78977ca8c1affb884b9d7c913
Contents?: true
Size: 743 Bytes
Versions: 2
Compression:
Stored size: 743 Bytes
Contents
# frozen_string_literal: true module Seam module Clients class Devices < BaseClient def list(params = {}) request_seam_object( :get, "/devices/list", Seam::Device, "devices", params: params ) end def get(device_id) request_seam_object( :get, "/devices/get", Seam::Device, "device", params: {device_id: device_id} ) end def list_device_providers(params = {}) request_seam_object( :get, "/devices/list_device_providers", Seam::DeviceProvider, "device_providers", params: params ) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
seamapi-1.4.0 | lib/seam/clients/devices.rb |
seamapi-1.3.2 | lib/seam/clients/devices.rb |