twilio-ruby 5.1.2 → 5.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +9 -0
- data/CHANGES.md +20 -0
- data/README.md +2 -2
- data/lib/twilio-ruby/framework/request.rb +39 -0
- data/lib/twilio-ruby/framework/response.rb +15 -0
- data/lib/twilio-ruby/framework/twilio_response.rb +6 -4
- data/lib/twilio-ruby/http/http_client.rb +21 -9
- data/lib/twilio-ruby/rest/accounts/v1/credential.rb +6 -0
- data/lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/address.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/address/dependent_phone_number.rb +6 -0
- data/lib/twilio-ruby/rest/api/v2010/account/application.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/local.rb +6 -0
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/mobile.rb +6 -0
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/toll_free.rb +6 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/feedback.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/feedback_summary.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +14 -0
- data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +6 -0
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +6 -0
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +6 -0
- data/lib/twilio-ruby/rest/api/v2010/account/key.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/message.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/message/feedback.rb +6 -0
- data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/new_key.rb +6 -0
- data/lib/twilio-ruby/rest/api/v2010/account/new_signing_key.rb +6 -0
- data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/queue/member.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +14 -0
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/short_code.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/signing_key.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip.rb +6 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/token.rb +6 -0
- data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage.rb +6 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record.rb +6 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/all_time.rb +6 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/daily.rb +6 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/last_month.rb +6 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/monthly.rb +6 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/this_month.rb +6 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/today.rb +6 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yearly.rb +6 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yesterday.rb +6 -0
- data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/validation_request.rb +6 -0
- data/lib/twilio-ruby/rest/chat/v1/credential.rb +7 -0
- data/lib/twilio-ruby/rest/chat/v1/service.rb +7 -0
- data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +7 -0
- data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +7 -0
- data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +7 -0
- data/lib/twilio-ruby/rest/chat/v1/service/channel/message.rb +7 -0
- data/lib/twilio-ruby/rest/chat/v1/service/role.rb +7 -0
- data/lib/twilio-ruby/rest/chat/v1/service/user.rb +7 -0
- data/lib/twilio-ruby/rest/chat/v1/service/user/user_channel.rb +6 -0
- data/lib/twilio-ruby/rest/chat/v2/credential.rb +7 -0
- data/lib/twilio-ruby/rest/chat/v2/service.rb +7 -0
- data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +28 -3
- data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +7 -0
- data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +30 -3
- data/lib/twilio-ruby/rest/chat/v2/service/channel/message.rb +35 -3
- data/lib/twilio-ruby/rest/chat/v2/service/role.rb +7 -0
- data/lib/twilio-ruby/rest/chat/v2/service/user.rb +7 -0
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +6 -0
- data/lib/twilio-ruby/rest/fax/v1/fax.rb +7 -0
- data/lib/twilio-ruby/rest/fax/v1/fax/fax_media.rb +7 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +7 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +7 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +7 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +7 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +7 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +7 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +7 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +7 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user/user_channel.rb +6 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/credential.rb +7 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +7 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +28 -3
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +7 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +30 -3
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/message.rb +35 -3
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +7 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +7 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_channel.rb +6 -0
- data/lib/twilio-ruby/rest/lookups/v1/phone_number.rb +7 -0
- data/lib/twilio-ruby/rest/messaging/v1/service.rb +7 -0
- data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +7 -0
- data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +7 -0
- data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +7 -0
- data/lib/twilio-ruby/rest/monitor/v1/alert.rb +7 -0
- data/lib/twilio-ruby/rest/monitor/v1/event.rb +7 -0
- data/lib/twilio-ruby/rest/notify/v1/credential.rb +7 -0
- data/lib/twilio-ruby/rest/notify/v1/service.rb +7 -0
- data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +7 -0
- data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +6 -0
- data/lib/twilio-ruby/rest/notify/v1/service/segment.rb +6 -0
- data/lib/twilio-ruby/rest/notify/v1/service/user.rb +7 -0
- data/lib/twilio-ruby/rest/notify/v1/service/user/segment_memberships.rb +7 -0
- data/lib/twilio-ruby/rest/notify/v1/service/user/user_binding.rb +7 -0
- data/lib/twilio-ruby/rest/preview/bulk_exports/export.rb +7 -0
- data/lib/twilio-ruby/rest/preview/bulk_exports/export/day.rb +6 -0
- data/lib/twilio-ruby/rest/preview/bulk_exports/export_configuration.rb +7 -0
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet.rb +7 -0
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/certificate.rb +7 -0
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/deployment.rb +7 -0
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/device.rb +7 -0
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/key.rb +7 -0
- data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +7 -0
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb +7 -0
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on/available_add_on_extension.rb +7 -0
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +7 -0
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on/installed_add_on_extension.rb +7 -0
- data/lib/twilio-ruby/rest/preview/proxy/service.rb +7 -0
- data/lib/twilio-ruby/rest/preview/proxy/service/phone_number.rb +7 -0
- data/lib/twilio-ruby/rest/preview/proxy/service/session.rb +7 -0
- data/lib/twilio-ruby/rest/preview/proxy/service/session/interaction.rb +7 -0
- data/lib/twilio-ruby/rest/preview/proxy/service/session/participant.rb +7 -0
- data/lib/twilio-ruby/rest/preview/proxy/service/session/participant/message_interaction.rb +7 -0
- data/lib/twilio-ruby/rest/preview/proxy/service/short_code.rb +7 -0
- data/lib/twilio-ruby/rest/preview/sync/service.rb +7 -0
- data/lib/twilio-ruby/rest/preview/sync/service/document.rb +7 -0
- data/lib/twilio-ruby/rest/preview/sync/service/document/document_permission.rb +7 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +7 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_item.rb +7 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_permission.rb +7 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +7 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb +7 -0
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb +7 -0
- data/lib/twilio-ruby/rest/preview/wireless/command.rb +7 -0
- data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +7 -0
- data/lib/twilio-ruby/rest/preview/wireless/sim.rb +7 -0
- data/lib/twilio-ruby/rest/preview/wireless/sim/usage.rb +7 -0
- data/lib/twilio-ruby/rest/pricing/v1/messaging.rb +6 -0
- data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +7 -0
- data/lib/twilio-ruby/rest/pricing/v1/phone_number.rb +6 -0
- data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +7 -0
- data/lib/twilio-ruby/rest/pricing/v1/voice.rb +6 -0
- data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +7 -0
- data/lib/twilio-ruby/rest/pricing/v1/voice/number.rb +7 -0
- data/lib/twilio-ruby/rest/sync/v1/service.rb +7 -0
- data/lib/twilio-ruby/rest/sync/v1/service/document.rb +7 -0
- data/lib/twilio-ruby/rest/sync/v1/service/document/document_permission.rb +7 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +7 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +7 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_permission.rb +7 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +7 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +7 -0
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_permission.rb +7 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +7 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +7 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/event.rb +7 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +7 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +7 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_channel.rb +7 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +7 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_statistics.rb +7 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queues_statistics.rb +6 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +7 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +7 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_channel.rb +7 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb +7 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_statistics.rb +7 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +7 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_statistics.rb +7 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_statistics.rb +7 -0
- data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +7 -0
- data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +7 -0
- data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +7 -0
- data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +7 -0
- data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +7 -0
- data/lib/twilio-ruby/rest/video/v1/recording.rb +7 -0
- data/lib/twilio-ruby/rest/video/v1/room.rb +10 -1
- data/lib/twilio-ruby/rest/video/v1/room/recording.rb +7 -0
- data/lib/twilio-ruby/rest/wireless/v1/command.rb +7 -0
- data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +7 -0
- data/lib/twilio-ruby/rest/wireless/v1/sim.rb +7 -0
- data/lib/twilio-ruby/rest/wireless/v1/sim/usage_record.rb +6 -0
- data/lib/twilio-ruby/version.rb +1 -1
- data/spec/framework/request_spec.rb +36 -0
- data/spec/http/http_client_spec.rb +93 -0
- data/spec/integration/accounts/v1/credential/public_key_spec.rb +11 -11
- data/spec/integration/api/v2010/account/address/dependent_phone_number_spec.rb +3 -3
- data/spec/integration/api/v2010/account/address_spec.rb +11 -11
- data/spec/integration/api/v2010/account/application_spec.rb +11 -11
- data/spec/integration/api/v2010/account/authorized_connect_app_spec.rb +5 -5
- data/spec/integration/api/v2010/account/available_phone_number/local_spec.rb +3 -3
- data/spec/integration/api/v2010/account/available_phone_number/mobile_spec.rb +3 -3
- data/spec/integration/api/v2010/account/available_phone_number/toll_free_spec.rb +3 -3
- data/spec/integration/api/v2010/account/available_phone_number_spec.rb +5 -5
- data/spec/integration/api/v2010/account/call/feedback_spec.rb +6 -6
- data/spec/integration/api/v2010/account/call/feedback_summary_spec.rb +6 -6
- data/spec/integration/api/v2010/account/call/notification_spec.rb +7 -7
- data/spec/integration/api/v2010/account/call/recording_spec.rb +11 -9
- data/spec/integration/api/v2010/account/call_spec.rb +11 -11
- data/spec/integration/api/v2010/account/conference/participant_spec.rb +12 -12
- data/spec/integration/api/v2010/account/conference_spec.rb +7 -7
- data/spec/integration/api/v2010/account/connect_app_spec.rb +7 -7
- data/spec/integration/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension_spec.rb +5 -5
- data/spec/integration/api/v2010/account/incoming_phone_number/assigned_add_on_spec.rb +9 -9
- data/spec/integration/api/v2010/account/incoming_phone_number/local_spec.rb +5 -5
- data/spec/integration/api/v2010/account/incoming_phone_number/mobile_spec.rb +5 -5
- data/spec/integration/api/v2010/account/incoming_phone_number/toll_free_spec.rb +5 -5
- data/spec/integration/api/v2010/account/incoming_phone_number_spec.rb +11 -11
- data/spec/integration/api/v2010/account/key_spec.rb +9 -9
- data/spec/integration/api/v2010/account/message/feedback_spec.rb +2 -2
- data/spec/integration/api/v2010/account/message/media_spec.rb +7 -7
- data/spec/integration/api/v2010/account/message_spec.rb +11 -11
- data/spec/integration/api/v2010/account/new_key_spec.rb +2 -2
- data/spec/integration/api/v2010/account/new_signing_key_spec.rb +2 -2
- data/spec/integration/api/v2010/account/notification_spec.rb +7 -7
- data/spec/integration/api/v2010/account/outgoing_caller_id_spec.rb +9 -9
- data/spec/integration/api/v2010/account/queue/member_spec.rb +7 -7
- data/spec/integration/api/v2010/account/queue_spec.rb +11 -11
- data/spec/integration/api/v2010/account/recording/add_on_result/payload_spec.rb +7 -7
- data/spec/integration/api/v2010/account/recording/add_on_result_spec.rb +7 -7
- data/spec/integration/api/v2010/account/recording/transcription_spec.rb +7 -7
- data/spec/integration/api/v2010/account/recording_spec.rb +11 -9
- data/spec/integration/api/v2010/account/short_code_spec.rb +7 -7
- data/spec/integration/api/v2010/account/signing_key_spec.rb +9 -9
- data/spec/integration/api/v2010/account/sip/credential_list/credential_spec.rb +11 -11
- data/spec/integration/api/v2010/account/sip/credential_list_spec.rb +11 -11
- data/spec/integration/api/v2010/account/sip/domain/credential_list_mapping_spec.rb +9 -9
- data/spec/integration/api/v2010/account/sip/domain/ip_access_control_list_mapping_spec.rb +9 -9
- data/spec/integration/api/v2010/account/sip/domain_spec.rb +11 -11
- data/spec/integration/api/v2010/account/sip/ip_access_control_list/ip_address_spec.rb +11 -11
- data/spec/integration/api/v2010/account/sip/ip_access_control_list_spec.rb +11 -11
- data/spec/integration/api/v2010/account/token_spec.rb +2 -2
- data/spec/integration/api/v2010/account/transcription_spec.rb +7 -7
- data/spec/integration/api/v2010/account/usage/record/all_time_spec.rb +3 -3
- data/spec/integration/api/v2010/account/usage/record/daily_spec.rb +3 -3
- data/spec/integration/api/v2010/account/usage/record/last_month_spec.rb +3 -3
- data/spec/integration/api/v2010/account/usage/record/monthly_spec.rb +3 -3
- data/spec/integration/api/v2010/account/usage/record/this_month_spec.rb +3 -3
- data/spec/integration/api/v2010/account/usage/record/today_spec.rb +3 -3
- data/spec/integration/api/v2010/account/usage/record/yearly_spec.rb +3 -3
- data/spec/integration/api/v2010/account/usage/record/yesterday_spec.rb +3 -3
- data/spec/integration/api/v2010/account/usage/record_spec.rb +3 -3
- data/spec/integration/api/v2010/account/usage/trigger_spec.rb +11 -11
- data/spec/integration/api/v2010/account/validation_request_spec.rb +2 -2
- data/spec/integration/api/v2010/account_spec.rb +9 -9
- data/spec/integration/chat/v1/credential_spec.rb +11 -11
- data/spec/integration/chat/v1/service/channel/invite_spec.rb +9 -9
- data/spec/integration/chat/v1/service/channel/member_spec.rb +12 -12
- data/spec/integration/chat/v1/service/channel/message_spec.rb +12 -12
- data/spec/integration/chat/v1/service/channel_spec.rb +11 -11
- data/spec/integration/chat/v1/service/role_spec.rb +11 -11
- data/spec/integration/chat/v1/service/user/user_channel_spec.rb +3 -3
- data/spec/integration/chat/v1/service/user_spec.rb +11 -11
- data/spec/integration/chat/v1/service_spec.rb +11 -11
- data/spec/integration/chat/v2/credential_spec.rb +11 -11
- data/spec/integration/chat/v2/service/channel/invite_spec.rb +9 -9
- data/spec/integration/chat/v2/service/channel/member_spec.rb +14 -41
- data/spec/integration/chat/v2/service/channel/message_spec.rb +29 -22
- data/spec/integration/chat/v2/service/channel_spec.rb +15 -15
- data/spec/integration/chat/v2/service/role_spec.rb +11 -11
- data/spec/integration/chat/v2/service/user/user_channel_spec.rb +3 -3
- data/spec/integration/chat/v2/service/user_spec.rb +11 -11
- data/spec/integration/chat/v2/service_spec.rb +11 -11
- data/spec/integration/fax/v1/fax/fax_media_spec.rb +6 -6
- data/spec/integration/fax/v1/fax_spec.rb +11 -11
- data/spec/integration/ip_messaging/v1/credential_spec.rb +11 -11
- data/spec/integration/ip_messaging/v1/service/channel/invite_spec.rb +9 -9
- data/spec/integration/ip_messaging/v1/service/channel/member_spec.rb +12 -12
- data/spec/integration/ip_messaging/v1/service/channel/message_spec.rb +12 -12
- data/spec/integration/ip_messaging/v1/service/channel_spec.rb +11 -11
- data/spec/integration/ip_messaging/v1/service/role_spec.rb +11 -11
- data/spec/integration/ip_messaging/v1/service/user/user_channel_spec.rb +3 -3
- data/spec/integration/ip_messaging/v1/service/user_spec.rb +11 -11
- data/spec/integration/ip_messaging/v1/service_spec.rb +11 -11
- data/spec/integration/ip_messaging/v2/credential_spec.rb +11 -11
- data/spec/integration/ip_messaging/v2/service/channel/invite_spec.rb +9 -9
- data/spec/integration/ip_messaging/v2/service/channel/member_spec.rb +14 -41
- data/spec/integration/ip_messaging/v2/service/channel/message_spec.rb +29 -22
- data/spec/integration/ip_messaging/v2/service/channel_spec.rb +15 -15
- data/spec/integration/ip_messaging/v2/service/role_spec.rb +11 -11
- data/spec/integration/ip_messaging/v2/service/user/user_channel_spec.rb +3 -3
- data/spec/integration/ip_messaging/v2/service/user_spec.rb +11 -11
- data/spec/integration/ip_messaging/v2/service_spec.rb +11 -11
- data/spec/integration/lookups/v1/phone_number_spec.rb +2 -2
- data/spec/integration/messaging/v1/service/alpha_sender_spec.rb +8 -8
- data/spec/integration/messaging/v1/service/phone_number_spec.rb +9 -9
- data/spec/integration/messaging/v1/service/short_code_spec.rb +8 -8
- data/spec/integration/messaging/v1/service_spec.rb +10 -10
- data/spec/integration/monitor/v1/alert_spec.rb +7 -7
- data/spec/integration/monitor/v1/event_spec.rb +5 -5
- data/spec/integration/notify/v1/credential_spec.rb +11 -11
- data/spec/integration/notify/v1/service/binding_spec.rb +9 -9
- data/spec/integration/notify/v1/service/notification_spec.rb +3 -3
- data/spec/integration/notify/v1/service/segment_spec.rb +3 -3
- data/spec/integration/notify/v1/service/user/segment_memberships_spec.rb +6 -6
- data/spec/integration/notify/v1/service/user/user_binding_spec.rb +10 -10
- data/spec/integration/notify/v1/service/user_spec.rb +9 -9
- data/spec/integration/notify/v1/service_spec.rb +11 -11
- data/spec/integration/preview/bulk_exports/export/day_spec.rb +2 -2
- data/spec/integration/preview/bulk_exports/export_configuration_spec.rb +4 -4
- data/spec/integration/preview/bulk_exports/export_spec.rb +2 -2
- data/spec/integration/preview/deployed_devices/fleet/certificate_spec.rb +11 -11
- data/spec/integration/preview/deployed_devices/fleet/deployment_spec.rb +11 -11
- data/spec/integration/preview/deployed_devices/fleet/device_spec.rb +11 -11
- data/spec/integration/preview/deployed_devices/fleet/key_spec.rb +11 -11
- data/spec/integration/preview/deployed_devices/fleet_spec.rb +11 -11
- data/spec/integration/preview/hosted_numbers/hosted_number_order_spec.rb +11 -11
- data/spec/integration/preview/marketplace/available_add_on/available_add_on_extension_spec.rb +5 -5
- data/spec/integration/preview/marketplace/available_add_on_spec.rb +5 -5
- data/spec/integration/preview/marketplace/installed_add_on/installed_add_on_extension_spec.rb +7 -7
- data/spec/integration/preview/marketplace/installed_add_on_spec.rb +11 -11
- data/spec/integration/preview/proxy/service/phone_number_spec.rb +8 -8
- data/spec/integration/preview/proxy/service/session/interaction_spec.rb +4 -4
- data/spec/integration/preview/proxy/service/session/participant/message_interaction_spec.rb +6 -6
- data/spec/integration/preview/proxy/service/session/participant_spec.rb +10 -10
- data/spec/integration/preview/proxy/service/session_spec.rb +10 -10
- data/spec/integration/preview/proxy/service/short_code_spec.rb +8 -8
- data/spec/integration/preview/proxy/service_spec.rb +10 -10
- data/spec/integration/preview/sync/service/document/document_permission_spec.rb +9 -9
- data/spec/integration/preview/sync/service/document_spec.rb +11 -11
- data/spec/integration/preview/sync/service/sync_list/sync_list_item_spec.rb +11 -11
- data/spec/integration/preview/sync/service/sync_list/sync_list_permission_spec.rb +9 -9
- data/spec/integration/preview/sync/service/sync_list_spec.rb +9 -9
- data/spec/integration/preview/sync/service/sync_map/sync_map_item_spec.rb +11 -11
- data/spec/integration/preview/sync/service/sync_map/sync_map_permission_spec.rb +9 -9
- data/spec/integration/preview/sync/service/sync_map_spec.rb +9 -9
- data/spec/integration/preview/sync/service_spec.rb +11 -11
- data/spec/integration/preview/wireless/command_spec.rb +7 -7
- data/spec/integration/preview/wireless/rate_plan_spec.rb +11 -11
- data/spec/integration/preview/wireless/sim/usage_spec.rb +2 -2
- data/spec/integration/preview/wireless/sim_spec.rb +7 -7
- data/spec/integration/pricing/v1/messaging/country_spec.rb +5 -5
- data/spec/integration/pricing/v1/phone_number/country_spec.rb +5 -5
- data/spec/integration/pricing/v1/voice/country_spec.rb +5 -5
- data/spec/integration/pricing/v1/voice/number_spec.rb +2 -2
- data/spec/integration/sync/v1/service/document/document_permission_spec.rb +9 -9
- data/spec/integration/sync/v1/service/document_spec.rb +11 -11
- data/spec/integration/sync/v1/service/sync_list/sync_list_item_spec.rb +11 -11
- data/spec/integration/sync/v1/service/sync_list/sync_list_permission_spec.rb +9 -9
- data/spec/integration/sync/v1/service/sync_list_spec.rb +9 -9
- data/spec/integration/sync/v1/service/sync_map/sync_map_item_spec.rb +11 -11
- data/spec/integration/sync/v1/service/sync_map/sync_map_permission_spec.rb +9 -9
- data/spec/integration/sync/v1/service/sync_map_spec.rb +9 -9
- data/spec/integration/sync/v1/service_spec.rb +11 -11
- data/spec/integration/taskrouter/v1/workspace/activity_spec.rb +11 -11
- data/spec/integration/taskrouter/v1/workspace/event_spec.rb +5 -5
- data/spec/integration/taskrouter/v1/workspace/task/reservation_spec.rb +7 -7
- data/spec/integration/taskrouter/v1/workspace/task_channel_spec.rb +5 -5
- data/spec/integration/taskrouter/v1/workspace/task_queue/task_queue_statistics_spec.rb +2 -2
- data/spec/integration/taskrouter/v1/workspace/task_queue/task_queues_statistics_spec.rb +3 -3
- data/spec/integration/taskrouter/v1/workspace/task_queue_spec.rb +11 -11
- data/spec/integration/taskrouter/v1/workspace/task_spec.rb +12 -12
- data/spec/integration/taskrouter/v1/workspace/worker/reservation_spec.rb +7 -7
- data/spec/integration/taskrouter/v1/workspace/worker/worker_channel_spec.rb +7 -7
- data/spec/integration/taskrouter/v1/workspace/worker/worker_statistics_spec.rb +2 -2
- data/spec/integration/taskrouter/v1/workspace/worker/workers_statistics_spec.rb +2 -2
- data/spec/integration/taskrouter/v1/workspace/worker_spec.rb +11 -11
- data/spec/integration/taskrouter/v1/workspace/workflow/workflow_statistics_spec.rb +2 -2
- data/spec/integration/taskrouter/v1/workspace/workflow_spec.rb +11 -11
- data/spec/integration/taskrouter/v1/workspace/workspace_statistics_spec.rb +2 -2
- data/spec/integration/taskrouter/v1/workspace_spec.rb +11 -11
- data/spec/integration/trunking/v1/trunk/credential_list_spec.rb +9 -9
- data/spec/integration/trunking/v1/trunk/ip_access_control_list_spec.rb +9 -9
- data/spec/integration/trunking/v1/trunk/origination_url_spec.rb +11 -11
- data/spec/integration/trunking/v1/trunk/phone_number_spec.rb +9 -9
- data/spec/integration/trunking/v1/trunk_spec.rb +11 -11
- data/spec/integration/video/v1/recording_spec.rb +7 -7
- data/spec/integration/video/v1/room/recording_spec.rb +5 -5
- data/spec/integration/video/v1/room_spec.rb +9 -9
- data/spec/integration/wireless/v1/command_spec.rb +7 -7
- data/spec/integration/wireless/v1/rate_plan_spec.rb +11 -11
- data/spec/integration/wireless/v1/sim/usage_record_spec.rb +2 -2
- data/spec/integration/wireless/v1/sim_spec.rb +7 -7
- data/twilio-ruby.gemspec +1 -1
- metadata +19 -7
@@ -351,6 +351,13 @@ module Twilio
|
|
351
351
|
values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
|
352
352
|
"<Twilio.Api.V2010.IpAccessControlListMappingInstance #{values}>"
|
353
353
|
end
|
354
|
+
|
355
|
+
##
|
356
|
+
# Provide a detailed, user friendly representation
|
357
|
+
def inspect
|
358
|
+
values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
|
359
|
+
"<Twilio.Api.V2010.IpAccessControlListMappingInstance #{values}>"
|
360
|
+
end
|
354
361
|
end
|
355
362
|
end
|
356
363
|
end
|
@@ -415,6 +415,13 @@ module Twilio
|
|
415
415
|
values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
|
416
416
|
"<Twilio.Api.V2010.IpAccessControlListInstance #{values}>"
|
417
417
|
end
|
418
|
+
|
419
|
+
##
|
420
|
+
# Provide a detailed, user friendly representation
|
421
|
+
def inspect
|
422
|
+
values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
|
423
|
+
"<Twilio.Api.V2010.IpAccessControlListInstance #{values}>"
|
424
|
+
end
|
418
425
|
end
|
419
426
|
end
|
420
427
|
end
|
@@ -396,6 +396,13 @@ module Twilio
|
|
396
396
|
values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
|
397
397
|
"<Twilio.Api.V2010.IpAddressInstance #{values}>"
|
398
398
|
end
|
399
|
+
|
400
|
+
##
|
401
|
+
# Provide a detailed, user friendly representation
|
402
|
+
def inspect
|
403
|
+
values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
|
404
|
+
"<Twilio.Api.V2010.IpAddressInstance #{values}>"
|
405
|
+
end
|
399
406
|
end
|
400
407
|
end
|
401
408
|
end
|
@@ -358,6 +358,13 @@ module Twilio
|
|
358
358
|
values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
|
359
359
|
"<Twilio.Api.V2010.TranscriptionInstance #{values}>"
|
360
360
|
end
|
361
|
+
|
362
|
+
##
|
363
|
+
# Provide a detailed, user friendly representation
|
364
|
+
def inspect
|
365
|
+
values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
|
366
|
+
"<Twilio.Api.V2010.TranscriptionInstance #{values}>"
|
367
|
+
end
|
361
368
|
end
|
362
369
|
end
|
363
370
|
end
|
@@ -498,6 +498,13 @@ module Twilio
|
|
498
498
|
values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
|
499
499
|
"<Twilio.Api.V2010.TriggerInstance #{values}>"
|
500
500
|
end
|
501
|
+
|
502
|
+
##
|
503
|
+
# Provide a detailed, user friendly representation
|
504
|
+
def inspect
|
505
|
+
values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
|
506
|
+
"<Twilio.Api.V2010.TriggerInstance #{values}>"
|
507
|
+
end
|
501
508
|
end
|
502
509
|
end
|
503
510
|
end
|
@@ -153,6 +153,12 @@ module Twilio
|
|
153
153
|
def to_s
|
154
154
|
"<Twilio.Api.V2010.ValidationRequestInstance>"
|
155
155
|
end
|
156
|
+
|
157
|
+
##
|
158
|
+
# Provide a detailed, user friendly representation
|
159
|
+
def inspect
|
160
|
+
"<Twilio.Api.V2010.ValidationRequestInstance>"
|
161
|
+
end
|
156
162
|
end
|
157
163
|
end
|
158
164
|
end
|
@@ -396,6 +396,13 @@ module Twilio
|
|
396
396
|
values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
|
397
397
|
"<Twilio.Chat.V1.CredentialInstance #{values}>"
|
398
398
|
end
|
399
|
+
|
400
|
+
##
|
401
|
+
# Provide a detailed, user friendly representation
|
402
|
+
def inspect
|
403
|
+
values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
|
404
|
+
"<Twilio.Chat.V1.CredentialInstance #{values}>"
|
405
|
+
end
|
399
406
|
end
|
400
407
|
end
|
401
408
|
end
|
@@ -928,6 +928,13 @@ module Twilio
|
|
928
928
|
values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
|
929
929
|
"<Twilio.Chat.V1.ServiceInstance #{values}>"
|
930
930
|
end
|
931
|
+
|
932
|
+
##
|
933
|
+
# Provide a detailed, user friendly representation
|
934
|
+
def inspect
|
935
|
+
values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
|
936
|
+
"<Twilio.Chat.V1.ServiceInstance #{values}>"
|
937
|
+
end
|
931
938
|
end
|
932
939
|
end
|
933
940
|
end
|
@@ -546,6 +546,13 @@ module Twilio
|
|
546
546
|
values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
|
547
547
|
"<Twilio.Chat.V1.ChannelInstance #{values}>"
|
548
548
|
end
|
549
|
+
|
550
|
+
##
|
551
|
+
# Provide a detailed, user friendly representation
|
552
|
+
def inspect
|
553
|
+
values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
|
554
|
+
"<Twilio.Chat.V1.ChannelInstance #{values}>"
|
555
|
+
end
|
549
556
|
end
|
550
557
|
end
|
551
558
|
end
|
@@ -377,6 +377,13 @@ module Twilio
|
|
377
377
|
values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
|
378
378
|
"<Twilio.Chat.V1.InviteInstance #{values}>"
|
379
379
|
end
|
380
|
+
|
381
|
+
##
|
382
|
+
# Provide a detailed, user friendly representation
|
383
|
+
def inspect
|
384
|
+
values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
|
385
|
+
"<Twilio.Chat.V1.InviteInstance #{values}>"
|
386
|
+
end
|
380
387
|
end
|
381
388
|
end
|
382
389
|
end
|
@@ -422,6 +422,13 @@ module Twilio
|
|
422
422
|
values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
|
423
423
|
"<Twilio.Chat.V1.MemberInstance #{values}>"
|
424
424
|
end
|
425
|
+
|
426
|
+
##
|
427
|
+
# Provide a detailed, user friendly representation
|
428
|
+
def inspect
|
429
|
+
values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
|
430
|
+
"<Twilio.Chat.V1.MemberInstance #{values}>"
|
431
|
+
end
|
425
432
|
end
|
426
433
|
end
|
427
434
|
end
|
@@ -438,6 +438,13 @@ module Twilio
|
|
438
438
|
values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
|
439
439
|
"<Twilio.Chat.V1.MessageInstance #{values}>"
|
440
440
|
end
|
441
|
+
|
442
|
+
##
|
443
|
+
# Provide a detailed, user friendly representation
|
444
|
+
def inspect
|
445
|
+
values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
|
446
|
+
"<Twilio.Chat.V1.MessageInstance #{values}>"
|
447
|
+
end
|
441
448
|
end
|
442
449
|
end
|
443
450
|
end
|
@@ -388,6 +388,13 @@ module Twilio
|
|
388
388
|
values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
|
389
389
|
"<Twilio.Chat.V1.RoleInstance #{values}>"
|
390
390
|
end
|
391
|
+
|
392
|
+
##
|
393
|
+
# Provide a detailed, user friendly representation
|
394
|
+
def inspect
|
395
|
+
values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
|
396
|
+
"<Twilio.Chat.V1.RoleInstance #{values}>"
|
397
|
+
end
|
391
398
|
end
|
392
399
|
end
|
393
400
|
end
|
@@ -459,6 +459,13 @@ module Twilio
|
|
459
459
|
values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
|
460
460
|
"<Twilio.Chat.V1.UserInstance #{values}>"
|
461
461
|
end
|
462
|
+
|
463
|
+
##
|
464
|
+
# Provide a detailed, user friendly representation
|
465
|
+
def inspect
|
466
|
+
values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
|
467
|
+
"<Twilio.Chat.V1.UserInstance #{values}>"
|
468
|
+
end
|
462
469
|
end
|
463
470
|
end
|
464
471
|
end
|
@@ -396,6 +396,13 @@ module Twilio
|
|
396
396
|
values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
|
397
397
|
"<Twilio.Chat.V2.CredentialInstance #{values}>"
|
398
398
|
end
|
399
|
+
|
400
|
+
##
|
401
|
+
# Provide a detailed, user friendly representation
|
402
|
+
def inspect
|
403
|
+
values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
|
404
|
+
"<Twilio.Chat.V2.CredentialInstance #{values}>"
|
405
|
+
end
|
399
406
|
end
|
400
407
|
end
|
401
408
|
end
|
@@ -692,6 +692,13 @@ module Twilio
|
|
692
692
|
values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
|
693
693
|
"<Twilio.Chat.V2.ServiceInstance #{values}>"
|
694
694
|
end
|
695
|
+
|
696
|
+
##
|
697
|
+
# Provide a detailed, user friendly representation
|
698
|
+
def inspect
|
699
|
+
values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
|
700
|
+
"<Twilio.Chat.V2.ServiceInstance #{values}>"
|
701
|
+
end
|
695
702
|
end
|
696
703
|
end
|
697
704
|
end
|
@@ -32,13 +32,19 @@ module Twilio
|
|
32
32
|
# @param [String] unique_name The unique_name
|
33
33
|
# @param [String] attributes The attributes
|
34
34
|
# @param [channel.ChannelType] type The type
|
35
|
+
# @param [Time] date_created The date_created
|
36
|
+
# @param [Time] date_updated The date_updated
|
37
|
+
# @param [String] created_by The created_by
|
35
38
|
# @return [ChannelInstance] Newly created ChannelInstance
|
36
|
-
def create(friendly_name: :unset, unique_name: :unset, attributes: :unset, type: :unset)
|
39
|
+
def create(friendly_name: :unset, unique_name: :unset, attributes: :unset, type: :unset, date_created: :unset, date_updated: :unset, created_by: :unset)
|
37
40
|
data = Twilio::Values.of({
|
38
41
|
'FriendlyName' => friendly_name,
|
39
42
|
'UniqueName' => unique_name,
|
40
43
|
'Attributes' => attributes,
|
41
44
|
'Type' => type,
|
45
|
+
'DateCreated' => Twilio.serialize_iso8601_datetime(date_created),
|
46
|
+
'DateUpdated' => Twilio.serialize_iso8601_datetime(date_updated),
|
47
|
+
'CreatedBy' => created_by,
|
42
48
|
})
|
43
49
|
|
44
50
|
payload = @version.create(
|
@@ -244,12 +250,18 @@ module Twilio
|
|
244
250
|
# @param [String] friendly_name The friendly_name
|
245
251
|
# @param [String] unique_name The unique_name
|
246
252
|
# @param [String] attributes The attributes
|
253
|
+
# @param [Time] date_created The date_created
|
254
|
+
# @param [Time] date_updated The date_updated
|
255
|
+
# @param [String] created_by The created_by
|
247
256
|
# @return [ChannelInstance] Updated ChannelInstance
|
248
|
-
def update(friendly_name: :unset, unique_name: :unset, attributes: :unset)
|
257
|
+
def update(friendly_name: :unset, unique_name: :unset, attributes: :unset, date_created: :unset, date_updated: :unset, created_by: :unset)
|
249
258
|
data = Twilio::Values.of({
|
250
259
|
'FriendlyName' => friendly_name,
|
251
260
|
'UniqueName' => unique_name,
|
252
261
|
'Attributes' => attributes,
|
262
|
+
'DateCreated' => Twilio.serialize_iso8601_datetime(date_created),
|
263
|
+
'DateUpdated' => Twilio.serialize_iso8601_datetime(date_updated),
|
264
|
+
'CreatedBy' => created_by,
|
253
265
|
})
|
254
266
|
|
255
267
|
payload = @version.update(
|
@@ -510,12 +522,18 @@ module Twilio
|
|
510
522
|
# @param [String] friendly_name The friendly_name
|
511
523
|
# @param [String] unique_name The unique_name
|
512
524
|
# @param [String] attributes The attributes
|
525
|
+
# @param [Time] date_created The date_created
|
526
|
+
# @param [Time] date_updated The date_updated
|
527
|
+
# @param [String] created_by The created_by
|
513
528
|
# @return [ChannelInstance] Updated ChannelInstance
|
514
|
-
def update(friendly_name: :unset, unique_name: :unset, attributes: :unset)
|
529
|
+
def update(friendly_name: :unset, unique_name: :unset, attributes: :unset, date_created: :unset, date_updated: :unset, created_by: :unset)
|
515
530
|
context.update(
|
516
531
|
friendly_name: friendly_name,
|
517
532
|
unique_name: unique_name,
|
518
533
|
attributes: attributes,
|
534
|
+
date_created: date_created,
|
535
|
+
date_updated: date_updated,
|
536
|
+
created_by: created_by,
|
519
537
|
)
|
520
538
|
end
|
521
539
|
|
@@ -546,6 +564,13 @@ module Twilio
|
|
546
564
|
values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
|
547
565
|
"<Twilio.Chat.V2.ChannelInstance #{values}>"
|
548
566
|
end
|
567
|
+
|
568
|
+
##
|
569
|
+
# Provide a detailed, user friendly representation
|
570
|
+
def inspect
|
571
|
+
values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
|
572
|
+
"<Twilio.Chat.V2.ChannelInstance #{values}>"
|
573
|
+
end
|
549
574
|
end
|
550
575
|
end
|
551
576
|
end
|