Class: Telnyx::Resources::Recordings::Actions
- Inherits:
-
Object
- Object
- Telnyx::Resources::Recordings::Actions
- Defined in:
- lib/telnyx/resources/recordings/actions.rb
Overview
Call Recordings operations.
Instance Method Summary collapse
-
#delete(ids:, request_options: {}) ⇒ Telnyx::Models::Recordings::ActionDeleteResponse
Permanently deletes a list of call recordings.
-
#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/recordings/actions.rb', line 33 def initialize(client:) @client = client end |
Instance Method Details
#delete(ids:, request_options: {}) ⇒ Telnyx::Models::Recordings::ActionDeleteResponse
Permanently deletes a list of call recordings.
19 20 21 22 23 24 25 26 27 28 |
# File 'lib/telnyx/resources/recordings/actions.rb', line 19 def delete(params) parsed, = Telnyx::Recordings::ActionDeleteParams.dump_request(params) @client.request( method: :post, path: "recordings/actions/delete", body: parsed, model: Telnyx::Models::Recordings::ActionDeleteResponse, options: ) end |