Class: Seam::Clients::PhonesSimulate

Inherits:
BaseClient show all
Defined in:
lib/seam/clients/phones_simulate.rb

Instance Attribute Summary

Attributes inherited from BaseClient

#client

Instance Method Summary collapse

Methods inherited from BaseClient

#initialize, #request_seam, #request_seam_object

Constructor Details

This class inherits a constructor from Seam::Clients::BaseClient

Instance Method Details

#create_sandbox_phone(user_identity_id:, assa_abloy_metadata: nil, custom_sdk_installation_id: nil, phone_metadata: nil) ⇒ Object



6
7
8
9
10
11
12
13
14
# File 'lib/seam/clients/phones_simulate.rb', line 6

def create_sandbox_phone(user_identity_id:, assa_abloy_metadata: nil, custom_sdk_installation_id: nil, phone_metadata: nil)
  request_seam_object(
    :post,
    "/phones/simulate/create_sandbox_phone",
    Seam::Phone,
    "phone",
    body: {user_identity_id: user_identity_id, assa_abloy_metadata: , custom_sdk_installation_id: custom_sdk_installation_id, phone_metadata: }.compact
  )
end