Class: Telnyx::Resources::UacConnections::Actions
- Inherits:
-
Object
- Object
- Telnyx::Resources::UacConnections::Actions
- Defined in:
- lib/telnyx/resources/uac_connections/actions.rb,
sig/telnyx/resources/uac_connections/actions.rbs
Overview
UAC connection operations
Instance Method Summary collapse
-
#check_registration_status(id, request_options: {}) ⇒ Telnyx::Models::UacConnections::ActionCheckRegistrationStatusResponse
Checks the registration status for a UAC connection (
registration_status) as well as the timestamp for the last SIP registration event (registration_status_updated_at). -
#initialize(client:) ⇒ Actions
constructor
private
A new instance of Actions.
Constructor Details
#initialize(client:) ⇒ Actions
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Actions.
33 34 35 |
# File 'lib/telnyx/resources/uac_connections/actions.rb', line 33 def initialize(client:) @client = client end |
Instance Method Details
#check_registration_status(id, request_options: {}) ⇒ Telnyx::Models::UacConnections::ActionCheckRegistrationStatusResponse
Checks the registration status for a UAC connection (registration_status) as
well as the timestamp for the last SIP registration event
(registration_status_updated_at).
21 22 23 24 25 26 27 28 |
# File 'lib/telnyx/resources/uac_connections/actions.rb', line 21 def check_registration_status(id, params = {}) @client.request( method: :post, path: ["uac_connections/%1$s/actions/check_registration_status", id], model: Telnyx::Models::UacConnections::ActionCheckRegistrationStatusResponse, options: params[:request_options] ) end |