module Twilio

Defined in:

core.cr
twilio/api/accounts_api.cr
twilio/api/addresses_api.cr
twilio/api/applications_api.cr
twilio/api/authorized_connect_apps_api.cr
twilio/api/available_phone_numbers_api.cr
twilio/api/balance_api.cr
twilio/api/calls_api.cr
twilio/api/conferences_api.cr
twilio/api/connect_apps_api.cr
twilio/api/incoming_phone_numbers_api.cr
twilio/api/keys_api.cr
twilio/api/messages_api.cr
twilio/api/notifications_api.cr
twilio/api/outgoing_caller_ids_api.cr
twilio/api/queues_api.cr
twilio/api/recordings_api.cr
twilio/api/signing_keys_api.cr
twilio/api/sip_api.cr
twilio/api/sms_api.cr
twilio/api/sub_accounts_api.cr
twilio/api/tokens_api.cr
twilio/api/transcriptions_api.cr
twilio/api/usage_api.cr
twilio/api_client.cr
twilio/api_error.cr
twilio/configuration.cr
twilio/models/account.cr
twilio/models/account_enum_status.cr
twilio/models/account_enum_type.cr
twilio/models/address.cr
twilio/models/address_dependent_phone_number.cr
twilio/models/address_dependent_phone_number_capabilities.cr
twilio/models/application.cr
twilio/models/authorized_connect_app.cr
twilio/models/available_phone_number_country.cr
twilio/models/available_phone_number_country_available_phone_number_voip.cr
twilio/models/available_phone_number_country_available_phone_number_voip_capabilities.cr
twilio/models/balance.cr
twilio/models/call.cr
twilio/models/call_call_event.cr
twilio/models/call_call_event_request.cr
twilio/models/call_call_event_response.cr
twilio/models/call_call_feedback.cr
twilio/models/call_call_feedback_summary.cr
twilio/models/call_call_notification.cr
twilio/models/call_call_notification_instance.cr
twilio/models/call_call_recording.cr
twilio/models/call_enum_event.cr
twilio/models/call_enum_status.cr
twilio/models/call_enum_update_status.cr
twilio/models/call_feedback_enum_issues.cr
twilio/models/call_feedback_summary_enum_status.cr
twilio/models/call_payments.cr
twilio/models/call_recording_enum_status.cr
twilio/models/call_siprec.cr
twilio/models/call_stream.cr
twilio/models/call_user_defined_message.cr
twilio/models/call_user_defined_message_subscription.cr
twilio/models/conference.cr
twilio/models/conference_conference_recording.cr
twilio/models/conference_enum_reason_conference_ended.cr
twilio/models/conference_enum_status.cr
twilio/models/conference_enum_update_status.cr
twilio/models/conference_participant.cr
twilio/models/connect_app.cr
twilio/models/connect_app_enum_permission.cr
twilio/models/encryption_details.cr
twilio/models/http_method.cr
twilio/models/incoming_phone_number.cr
twilio/models/incoming_phone_number_capabilities.cr
twilio/models/incoming_phone_number_enum_address_requirement.cr
twilio/models/incoming_phone_number_enum_emergency_address_status.cr
twilio/models/incoming_phone_number_enum_emergency_status.cr
twilio/models/incoming_phone_number_enum_voice_receive_mode.cr
twilio/models/incoming_phone_number_incoming_phone_number_assigned_add_on.cr
twilio/models/incoming_phone_number_incoming_phone_number_assigned_add_on_incoming_phone_number_assigned_add_on_extension.cr
twilio/models/incoming_phone_number_incoming_phone_number_local.cr
twilio/models/key.cr
twilio/models/list_account_response.cr
twilio/models/list_address_response.cr
twilio/models/list_application_response.cr
twilio/models/list_authorized_connect_app_response.cr
twilio/models/list_available_phone_number_country_response.cr
twilio/models/list_available_phone_number_local_response.cr
twilio/models/list_available_phone_number_machine_to_machine_response.cr
twilio/models/list_available_phone_number_mobile_response.cr
twilio/models/list_available_phone_number_national_response.cr
twilio/models/list_available_phone_number_shared_cost_response.cr
twilio/models/list_available_phone_number_toll_free_response.cr
twilio/models/list_available_phone_number_voip_response.cr
twilio/models/list_call_event_response.cr
twilio/models/list_call_notification_response.cr
twilio/models/list_call_recording_response.cr
twilio/models/list_call_response.cr
twilio/models/list_conference_recording_response.cr
twilio/models/list_conference_response.cr
twilio/models/list_connect_app_response.cr
twilio/models/list_dependent_phone_number_response.cr
twilio/models/list_incoming_phone_number_assigned_add_on_extension_response.cr
twilio/models/list_incoming_phone_number_assigned_add_on_response.cr
twilio/models/list_incoming_phone_number_local_response.cr
twilio/models/list_incoming_phone_number_mobile_response.cr
twilio/models/list_incoming_phone_number_response.cr
twilio/models/list_incoming_phone_number_toll_free_response.cr
twilio/models/list_key_response.cr
twilio/models/list_media_response.cr
twilio/models/list_member_response.cr
twilio/models/list_message_response.cr
twilio/models/list_notification_response.cr
twilio/models/list_outgoing_caller_id_response.cr
twilio/models/list_participant_response.cr
twilio/models/list_queue_response.cr
twilio/models/list_recording_add_on_result_payload_response.cr
twilio/models/list_recording_add_on_result_response.cr
twilio/models/list_recording_response.cr
twilio/models/list_recording_transcription_response.cr
twilio/models/list_short_code_response.cr
twilio/models/list_signing_key_response.cr
twilio/models/list_sip_auth_calls_credential_list_mapping_response.cr
twilio/models/list_sip_auth_calls_ip_access_control_list_mapping_response.cr
twilio/models/list_sip_auth_registrations_credential_list_mapping_response.cr
twilio/models/list_sip_credential_list_mapping_response.cr
twilio/models/list_sip_credential_list_response.cr
twilio/models/list_sip_credential_response.cr
twilio/models/list_sip_domain_response.cr
twilio/models/list_sip_ip_access_control_list_mapping_response.cr
twilio/models/list_sip_ip_access_control_list_response.cr
twilio/models/list_sip_ip_address_response.cr
twilio/models/list_transcription_response.cr
twilio/models/list_usage_record_all_time_response.cr
twilio/models/list_usage_record_daily_response.cr
twilio/models/list_usage_record_last_month_response.cr
twilio/models/list_usage_record_monthly_response.cr
twilio/models/list_usage_record_response.cr
twilio/models/list_usage_record_this_month_response.cr
twilio/models/list_usage_record_today_response.cr
twilio/models/list_usage_record_yearly_response.cr
twilio/models/list_usage_record_yesterday_response.cr
twilio/models/list_usage_trigger_response.cr
twilio/models/message.cr
twilio/models/message_enum_address_retention.cr
twilio/models/message_enum_direction.cr
twilio/models/message_enum_schedule_type.cr
twilio/models/message_enum_status.cr
twilio/models/message_enum_traffic_type.cr
twilio/models/message_enum_update_status.cr
twilio/models/message_feedback_enum_outcome.cr
twilio/models/message_media.cr
twilio/models/message_message_feedback.cr
twilio/models/new_key.cr
twilio/models/notification.cr
twilio/models/notification_instance.cr
twilio/models/outgoing_caller_id.cr
twilio/models/participant_enum_status.cr
twilio/models/payments_enum_bank_account_type.cr
twilio/models/payments_enum_capture.cr
twilio/models/payments_enum_payment_method.cr
twilio/models/payments_enum_status.cr
twilio/models/payments_enum_token_type.cr
twilio/models/queue.cr
twilio/models/queue_member.cr
twilio/models/recording.cr
twilio/models/recording_add_on_result_enum_status.cr
twilio/models/recording_enum_source.cr
twilio/models/recording_enum_status.cr
twilio/models/recording_recording_add_on_result.cr
twilio/models/recording_recording_add_on_result_recording_add_on_result_payload.cr
twilio/models/short_code.cr
twilio/models/signing_key.cr
twilio/models/sip_sip_credential_list.cr
twilio/models/sip_sip_credential_list_sip_credential.cr
twilio/models/sip_sip_domain.cr
twilio/models/sip_sip_domain_sip_auth_sip_auth_calls_sip_auth_calls_credential_list_mapping.cr
twilio/models/sip_sip_domain_sip_auth_sip_auth_calls_sip_auth_calls_ip_access_control_list_mapping.cr
twilio/models/sip_sip_domain_sip_credential_list_mapping.cr
twilio/models/sip_sip_domain_sip_ip_access_control_list_mapping.cr
twilio/models/sip_sip_ip_access_control_list.cr
twilio/models/sip_sip_ip_access_control_list_sip_ip_address.cr
twilio/models/siprec_enum_status.cr
twilio/models/siprec_enum_track.cr
twilio/models/siprec_enum_update_status.cr
twilio/models/token.cr
twilio/models/token_ice_servers_inner.cr
twilio/models/transcription.cr
twilio/models/transcription_enum_status.cr
twilio/models/usage_record_enum_category.cr
twilio/models/usage_trigger_enum_recurring.cr
twilio/models/usage_trigger_enum_trigger_field.cr
twilio/models/usage_usage_record.cr
twilio/models/usage_usage_trigger.cr
twilio/models/validation_request.cr

Constant Summary

Log = ::Log.for("Twilio")
VERSION = {{ (`shards version /srv/crystaldoc.info/github-cyangle-twilio-v2.0.1/src`).chomp.stringify }}

Class Method Summary

Class Method Detail

def self.configure #

Return the default Configuration object.


[View source]
def self.configure(&) #

Customize default settings for the SDK using block.

Twilio.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

[View source]
def self.next_page(list_response : T, api_client : Twilio::ApiClient = Twilio::ApiClient.default) : T | Nil forall T #

Get next page of a list endpoint response

api = Twilio::CallsApi.new

page : Twilio::ListCallResponse = api.list_call

# Get next page of results
next_page : Twilio::ListCallResponse? = Twilio.next_page(page)

pp page
pp next_page

[View source]