Sha256: 8a552b5ee8ad9c5ead216f290f685a1efab05db1950e21c6da33bcc4868b1133
Contents?: true
Size: 637 Bytes
Versions: 2
Compression:
Stored size: 637 Bytes
Contents
# frozen_string_literal: true module Seam module Clients class Phones < BaseClient def simulate @simulate ||= Seam::Clients::PhonesSimulate.new(self) end def deactivate(device_id:) request_seam( :post, "/phones/deactivate", body: {device_id: device_id}.compact ) nil end def list(owner_user_identity_id: nil) request_seam_object( :post, "/phones/list", Seam::Phone, "phones", body: {owner_user_identity_id: owner_user_identity_id}.compact ) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
seam-2.0.0a2 | lib/seam/clients/phones.rb |
seam-2.0.0.prerelease.1 | lib/seam/clients/phones.rb |