twilio-ruby 5.0.0.rc26 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rubocop.yml +21 -0
- data/.rubocop_todo.yml +187 -0
- data/.travis.yml +13 -0
- data/CHANGES.md +4 -0
- data/Gemfile +2 -2
- data/Makefile +8 -1
- data/Rakefile +3 -7
- data/examples/examples.rb +12 -10
- data/examples/{print-call-log.rb → print_call_log.rb} +4 -4
- data/lib/rack/twilio_webhook_authentication.rb +2 -3
- data/lib/twilio-ruby/framework/domain.rb +2 -6
- data/lib/twilio-ruby/framework/error.rb +0 -1
- data/lib/twilio-ruby/framework/helper.rb +1 -1
- data/lib/twilio-ruby/framework/page.rb +23 -25
- data/lib/twilio-ruby/framework/resource.rb +2 -2
- data/lib/twilio-ruby/framework/serialize.rb +5 -12
- data/lib/twilio-ruby/framework/twilio_response.rb +1 -1
- data/lib/twilio-ruby/framework/values.rb +2 -2
- data/lib/twilio-ruby/framework/version.rb +19 -37
- data/lib/twilio-ruby/http/http_client.rb +5 -6
- data/lib/twilio-ruby/jwt/access_token.rb +27 -41
- data/lib/twilio-ruby/jwt/client_capability.rb +11 -16
- data/lib/twilio-ruby/jwt/jwt.rb +7 -13
- data/lib/twilio-ruby/jwt/task_router.rb +40 -38
- data/lib/twilio-ruby/rest/accounts.rb +2 -0
- data/lib/twilio-ruby/rest/accounts/v1.rb +2 -0
- data/lib/twilio-ruby/rest/accounts/v1/credential.rb +2 -2
- data/lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb +12 -7
- data/lib/twilio-ruby/rest/api.rb +96 -0
- data/lib/twilio-ruby/rest/api/v2010.rb +5 -0
- data/lib/twilio-ruby/rest/api/v2010/account.rb +66 -56
- data/lib/twilio-ruby/rest/api/v2010/account/address.rb +30 -13
- data/lib/twilio-ruby/rest/api/v2010/account/address/dependent_phone_number.rb +22 -8
- data/lib/twilio-ruby/rest/api/v2010/account/application.rb +40 -11
- data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +20 -9
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number.rb +16 -15
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/local.rb +26 -28
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/mobile.rb +26 -28
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/toll_free.rb +26 -28
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +64 -34
- data/lib/twilio-ruby/rest/api/v2010/account/call/feedback.rb +12 -4
- data/lib/twilio-ruby/rest/api/v2010/account/call/feedback_summary.rb +28 -3
- data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +37 -16
- data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +25 -15
- data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +28 -27
- data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +28 -19
- data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +22 -9
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +62 -58
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +52 -12
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +52 -12
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +52 -12
- data/lib/twilio-ruby/rest/api/v2010/account/key.rb +8 -9
- data/lib/twilio-ruby/rest/api/v2010/account/message.rb +47 -20
- data/lib/twilio-ruby/rest/api/v2010/account/message/feedback.rb +12 -2
- data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +17 -17
- data/lib/twilio-ruby/rest/api/v2010/account/new_key.rb +10 -2
- data/lib/twilio-ruby/rest/api/v2010/account/new_signing_key.rb +10 -2
- data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +37 -16
- data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +14 -13
- data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +20 -10
- data/lib/twilio-ruby/rest/api/v2010/account/queue/member.rb +10 -10
- data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +37 -21
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +22 -13
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb +22 -13
- data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +26 -9
- data/lib/twilio-ruby/rest/api/v2010/account/short_code.rb +24 -13
- data/lib/twilio-ruby/rest/api/v2010/account/signing_key.rb +8 -9
- data/lib/twilio-ruby/rest/api/v2010/account/sip.rb +8 -10
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +16 -11
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +14 -9
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +36 -13
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +14 -10
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +14 -10
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +16 -11
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +16 -9
- data/lib/twilio-ruby/rest/api/v2010/account/token.rb +14 -2
- data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +26 -9
- data/lib/twilio-ruby/rest/api/v2010/account/usage.rb +4 -6
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record.rb +44 -33
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/all_time.rb +28 -11
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/daily.rb +28 -11
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/last_month.rb +28 -11
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/monthly.rb +28 -11
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/this_month.rb +28 -11
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/today.rb +28 -11
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yearly.rb +28 -11
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yesterday.rb +28 -11
- data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +32 -15
- data/lib/twilio-ruby/rest/api/v2010/account/validation_request.rb +10 -1
- data/lib/twilio-ruby/rest/chat.rb +8 -0
- data/lib/twilio-ruby/rest/chat/v1.rb +8 -0
- data/lib/twilio-ruby/rest/chat/v1/credential.rb +16 -7
- data/lib/twilio-ruby/rest/chat/v1/service.rb +48 -13
- data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +34 -15
- data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +20 -10
- data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +22 -10
- data/lib/twilio-ruby/rest/chat/v1/service/channel/message.rb +26 -10
- data/lib/twilio-ruby/rest/chat/v1/service/role.rb +18 -8
- data/lib/twilio-ruby/rest/chat/v1/service/user.rb +30 -10
- data/lib/twilio-ruby/rest/chat/v1/service/user/user_channel.rb +16 -8
- data/lib/twilio-ruby/rest/chat/v2.rb +8 -0
- data/lib/twilio-ruby/rest/chat/v2/credential.rb +16 -7
- data/lib/twilio-ruby/rest/chat/v2/service.rb +46 -13
- data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +34 -15
- data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +20 -10
- data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +22 -10
- data/lib/twilio-ruby/rest/chat/v2/service/channel/message.rb +26 -10
- data/lib/twilio-ruby/rest/chat/v2/service/role.rb +18 -8
- data/lib/twilio-ruby/rest/chat/v2/service/user.rb +30 -10
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +16 -8
- data/lib/twilio-ruby/rest/client.rb +94 -45
- data/lib/twilio-ruby/rest/ip_messaging.rb +8 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1.rb +8 -0
- data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +16 -7
- data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +48 -13
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +34 -15
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +20 -10
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +22 -10
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +26 -10
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +18 -8
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +30 -10
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user/user_channel.rb +16 -8
- data/lib/twilio-ruby/rest/ip_messaging/v2.rb +8 -0
- data/lib/twilio-ruby/rest/ip_messaging/v2/credential.rb +16 -7
- data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +46 -13
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +34 -15
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +20 -10
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +22 -10
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/message.rb +26 -10
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +18 -8
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +30 -10
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_channel.rb +16 -8
- data/lib/twilio-ruby/rest/lookups.rb +4 -0
- data/lib/twilio-ruby/rest/lookups/v1.rb +9 -5
- data/lib/twilio-ruby/rest/lookups/v1/phone_number.rb +14 -1
- data/lib/twilio-ruby/rest/monitor.rb +8 -0
- data/lib/twilio-ruby/rest/monitor/v1.rb +8 -0
- data/lib/twilio-ruby/rest/monitor/v1/alert.rb +34 -10
- data/lib/twilio-ruby/rest/monitor/v1/event.rb +28 -13
- data/lib/twilio-ruby/rest/pricing.rb +6 -0
- data/lib/twilio-ruby/rest/pricing/v1.rb +6 -0
- data/lib/twilio-ruby/rest/pricing/v1/messaging.rb +8 -2
- data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +12 -7
- data/lib/twilio-ruby/rest/pricing/v1/phone_number.rb +8 -2
- data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +10 -7
- data/lib/twilio-ruby/rest/pricing/v1/voice.rb +10 -4
- data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +12 -7
- data/lib/twilio-ruby/rest/pricing/v1/voice/number.rb +14 -1
- data/lib/twilio-ruby/rest/taskrouter.rb +4 -0
- data/lib/twilio-ruby/rest/taskrouter/v1.rb +4 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +46 -24
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +16 -10
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/event.rb +30 -17
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +42 -19
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +22 -10
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_channel.rb +16 -8
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +34 -15
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_statistics.rb +12 -3
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queues_statistics.rb +10 -11
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +34 -23
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +22 -10
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_channel.rb +28 -9
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb +10 -3
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_statistics.rb +10 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +28 -11
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_statistics.rb +12 -3
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_statistics.rb +10 -2
- data/lib/twilio-ruby/rest/trunking.rb +4 -0
- data/lib/twilio-ruby/rest/trunking/v1.rb +4 -0
- data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +36 -15
- data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +14 -8
- data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +14 -8
- data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +22 -8
- data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +52 -8
- data/lib/twilio-ruby/rest/video.rb +8 -0
- data/lib/twilio-ruby/rest/video/v1.rb +8 -0
- data/lib/twilio-ruby/rest/video/v1/recording.rb +26 -12
- data/lib/twilio-ruby/rest/video/v1/room.rb +34 -13
- data/lib/twilio-ruby/rest/video/v1/room/recording.rb +28 -12
- data/lib/twilio-ruby/security/request_validator.rb +1 -2
- data/lib/twilio-ruby/twiml/messaging_response.rb +7 -19
- data/lib/twilio-ruby/twiml/twiml.rb +8 -14
- data/lib/twilio-ruby/twiml/voice_response.rb +157 -169
- data/lib/twilio-ruby/util.rb +1 -1
- data/lib/twilio-ruby/version.rb +1 -1
- data/spec/framework/serialize_spec.rb +17 -30
- data/spec/holodeck/holodeck.rb +6 -6
- data/spec/jwt/access_token_spec.rb +0 -6
- data/spec/jwt/client_capability_spec.rb +3 -3
- data/spec/jwt/task_router_spec.rb +16 -21
- data/spec/rack/twilio_webhook_authentication_spec.rb +12 -16
- data/spec/spec_helper.rb +2 -2
- data/spec/support/fakeweb.rb +1 -1
- data/spec/twiml/voice_response_spec.rb +33 -20
- data/twilio-ruby.gemspec +7 -3
- metadata +21 -193
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +0 -420
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension.rb +0 -345
- data/lib/twilio-ruby/rest/fax.rb +0 -40
- data/lib/twilio-ruby/rest/fax/v1.rb +0 -37
- data/lib/twilio-ruby/rest/fax/v1/fax.rb +0 -520
- data/lib/twilio-ruby/rest/fax/v1/fax/fax_media.rb +0 -321
- data/lib/twilio-ruby/rest/messaging.rb +0 -40
- data/lib/twilio-ruby/rest/messaging/v1.rb +0 -37
- data/lib/twilio-ruby/rest/messaging/v1/service.rb +0 -604
- data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +0 -344
- data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +0 -349
- data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +0 -349
- data/lib/twilio-ruby/rest/notify.rb +0 -44
- data/lib/twilio-ruby/rest/notify/v1.rb +0 -48
- data/lib/twilio-ruby/rest/notify/v1/credential.rb +0 -394
- data/lib/twilio-ruby/rest/notify/v1/service.rb +0 -611
- data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +0 -414
- data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +0 -249
- data/lib/twilio-ruby/rest/notify/v1/service/segment.rb +0 -219
- data/lib/twilio-ruby/rest/notify/v1/service/user.rb +0 -437
- data/lib/twilio-ruby/rest/notify/v1/service/user/segment_memberships.rb +0 -247
- data/lib/twilio-ruby/rest/notify/v1/service/user/user_binding.rb +0 -418
- data/lib/twilio-ruby/rest/preview.rb +0 -107
- data/lib/twilio-ruby/rest/preview/bulk_exports.rb +0 -48
- data/lib/twilio-ruby/rest/preview/bulk_exports/export.rb +0 -198
- data/lib/twilio-ruby/rest/preview/bulk_exports/export/day.rb +0 -209
- data/lib/twilio-ruby/rest/preview/bulk_exports/export_configuration.rb +0 -232
- data/lib/twilio-ruby/rest/preview/hosted_numbers.rb +0 -37
- data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +0 -539
- data/lib/twilio-ruby/rest/preview/marketplace.rb +0 -48
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb +0 -326
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on/available_add_on_extension.rb +0 -297
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +0 -427
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on/installed_add_on_extension.rb +0 -335
- data/lib/twilio-ruby/rest/preview/proxy.rb +0 -37
- data/lib/twilio-ruby/rest/preview/proxy/service.rb +0 -489
- data/lib/twilio-ruby/rest/preview/proxy/service/phone_number.rb +0 -349
- data/lib/twilio-ruby/rest/preview/proxy/service/session.rb +0 -525
- data/lib/twilio-ruby/rest/preview/proxy/service/session/interaction.rb +0 -406
- data/lib/twilio-ruby/rest/preview/proxy/service/session/participant.rb +0 -495
- data/lib/twilio-ruby/rest/preview/proxy/service/session/participant/message_interaction.rb +0 -422
- data/lib/twilio-ruby/rest/preview/proxy/service/short_code.rb +0 -349
- data/lib/twilio-ruby/rest/preview/sync.rb +0 -37
- data/lib/twilio-ruby/rest/preview/sync/service.rb +0 -491
- data/lib/twilio-ruby/rest/preview/sync/service/document.rb +0 -431
- data/lib/twilio-ruby/rest/preview/sync/service/document/document_permission.rb +0 -390
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +0 -426
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_item.rb +0 -422
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_permission.rb +0 -390
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +0 -426
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb +0 -424
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb +0 -390
- data/lib/twilio-ruby/rest/preview/wireless.rb +0 -59
- data/lib/twilio-ruby/rest/preview/wireless/command.rb +0 -371
- data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +0 -414
- data/lib/twilio-ruby/rest/preview/wireless/sim.rb +0 -512
- data/lib/twilio-ruby/rest/preview/wireless/sim/usage.rb +0 -220
- data/lib/twilio-ruby/rest/sync.rb +0 -40
- data/lib/twilio-ruby/rest/sync/v1.rb +0 -37
- data/lib/twilio-ruby/rest/sync/v1/service.rb +0 -491
- data/lib/twilio-ruby/rest/sync/v1/service/document.rb +0 -431
- data/lib/twilio-ruby/rest/sync/v1/service/document/document_permission.rb +0 -390
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +0 -426
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +0 -422
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_permission.rb +0 -390
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +0 -426
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +0 -424
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_permission.rb +0 -390
- data/lib/twilio-ruby/rest/wireless.rb +0 -48
- data/lib/twilio-ruby/rest/wireless/v1.rb +0 -59
- data/lib/twilio-ruby/rest/wireless/v1/command.rb +0 -357
- data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +0 -427
- data/lib/twilio-ruby/rest/wireless/v1/sim.rb +0 -516
- data/lib/twilio-ruby/rest/wireless/v1/sim/usage_record.rb +0 -235
- data/spec/integration/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension_spec.rb +0 -135
- data/spec/integration/api/v2010/account/incoming_phone_number/assigned_add_on_spec.rb +0 -223
- data/spec/integration/fax/v1/fax/fax_media_spec.rb +0 -126
- data/spec/integration/fax/v1/fax_spec.rb +0 -272
- data/spec/integration/messaging/v1/service/alpha_sender_spec.rb +0 -170
- data/spec/integration/messaging/v1/service/phone_number_spec.rb +0 -201
- data/spec/integration/messaging/v1/service/short_code_spec.rb +0 -173
- data/spec/integration/messaging/v1/service_spec.rb +0 -263
- data/spec/integration/notify/v1/credential_spec.rb +0 -223
- data/spec/integration/notify/v1/service/binding_spec.rb +0 -227
- data/spec/integration/notify/v1/service/notification_spec.rb +0 -97
- data/spec/integration/notify/v1/service/segment_spec.rb +0 -84
- data/spec/integration/notify/v1/service/user/segment_memberships_spec.rb +0 -118
- data/spec/integration/notify/v1/service/user/user_binding_spec.rb +0 -269
- data/spec/integration/notify/v1/service/user_spec.rb +0 -213
- data/spec/integration/notify/v1/service_spec.rb +0 -280
- data/spec/integration/preview/bulk_exports/export/day_spec.rb +0 -56
- data/spec/integration/preview/bulk_exports/export_configuration_spec.rb +0 -79
- data/spec/integration/preview/bulk_exports/export_spec.rb +0 -43
- data/spec/integration/preview/hosted_numbers/hosted_number_order_spec.rb +0 -276
- data/spec/integration/preview/marketplace/available_add_on/available_add_on_extension_spec.rb +0 -121
- data/spec/integration/preview/marketplace/available_add_on_spec.rb +0 -142
- data/spec/integration/preview/marketplace/installed_add_on/installed_add_on_extension_spec.rb +0 -164
- data/spec/integration/preview/marketplace/installed_add_on_spec.rb +0 -252
- data/spec/integration/preview/proxy/service/phone_number_spec.rb +0 -173
- data/spec/integration/preview/proxy/service/session/interaction_spec.rb +0 -104
- data/spec/integration/preview/proxy/service/session/participant/message_interaction_spec.rb +0 -164
- data/spec/integration/preview/proxy/service/session/participant_spec.rb +0 -226
- data/spec/integration/preview/proxy/service/session_spec.rb +0 -216
- data/spec/integration/preview/proxy/service/short_code_spec.rb +0 -173
- data/spec/integration/preview/proxy/service_spec.rb +0 -200
- data/spec/integration/preview/sync/service/document/document_permission_spec.rb +0 -206
- data/spec/integration/preview/sync/service/document_spec.rb +0 -254
- data/spec/integration/preview/sync/service/sync_list/sync_list_item_spec.rb +0 -256
- data/spec/integration/preview/sync/service/sync_list/sync_list_permission_spec.rb +0 -206
- data/spec/integration/preview/sync/service/sync_list_spec.rb +0 -207
- data/spec/integration/preview/sync/service/sync_map/sync_map_item_spec.rb +0 -257
- data/spec/integration/preview/sync/service/sync_map/sync_map_permission_spec.rb +0 -206
- data/spec/integration/preview/sync/service/sync_map_spec.rb +0 -207
- data/spec/integration/preview/sync/service_spec.rb +0 -244
- data/spec/integration/preview/wireless/command_spec.rb +0 -169
- data/spec/integration/preview/wireless/rate_plan_spec.rb +0 -260
- data/spec/integration/preview/wireless/sim/usage_spec.rb +0 -49
- data/spec/integration/preview/wireless/sim_spec.rb +0 -208
- data/spec/integration/sync/v1/service/document/document_permission_spec.rb +0 -206
- data/spec/integration/sync/v1/service/document_spec.rb +0 -254
- data/spec/integration/sync/v1/service/sync_list/sync_list_item_spec.rb +0 -256
- data/spec/integration/sync/v1/service/sync_list/sync_list_permission_spec.rb +0 -206
- data/spec/integration/sync/v1/service/sync_list_spec.rb +0 -207
- data/spec/integration/sync/v1/service/sync_map/sync_map_item_spec.rb +0 -257
- data/spec/integration/sync/v1/service/sync_map/sync_map_permission_spec.rb +0 -206
- data/spec/integration/sync/v1/service/sync_map_spec.rb +0 -207
- data/spec/integration/sync/v1/service_spec.rb +0 -244
- data/spec/integration/wireless/v1/command_spec.rb +0 -166
- data/spec/integration/wireless/v1/rate_plan_spec.rb +0 -268
- data/spec/integration/wireless/v1/sim/usage_record_spec.rb +0 -65
- data/spec/integration/wireless/v1/sim_spec.rb +0 -208
|
@@ -17,6 +17,11 @@ module Twilio
|
|
|
17
17
|
@account = nil
|
|
18
18
|
end
|
|
19
19
|
|
|
20
|
+
##
|
|
21
|
+
# @param [String] sid The Account Sid that uniquely identifies the account to
|
|
22
|
+
# fetch
|
|
23
|
+
# @return [Twilio::REST::Api::V2010::AccountInstance] if sid was passed.
|
|
24
|
+
# @return [Twilio::REST::Api::V2010::AccountList]
|
|
20
25
|
def accounts(sid=:unset)
|
|
21
26
|
if sid.nil?
|
|
22
27
|
raise ArgumentError, 'sid cannot be nil'
|
|
@@ -97,15 +97,6 @@ module Twilio
|
|
|
97
97
|
# When passed a block, yields AccountInstance records from the API.
|
|
98
98
|
# This operation lazily loads records as efficiently as possible until the limit
|
|
99
99
|
# is reached.
|
|
100
|
-
# @param [String] friendly_name Filter accounts where the friendly name exactly
|
|
101
|
-
# matches the desired FriendlyName
|
|
102
|
-
# @param [account.Status] status Only show accounts with the given Status
|
|
103
|
-
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
104
|
-
# guarantees to never return more than limit. Default is no limit
|
|
105
|
-
# @param [Integer] page_size Number of records to fetch per request, when not set will use
|
|
106
|
-
# the default value of 50 records. If no page_size is defined
|
|
107
|
-
# but a limit is defined, stream() will attempt to read the
|
|
108
|
-
# limit with the most efficient page size, i.e. min(limit, 1000)
|
|
109
100
|
def each
|
|
110
101
|
limits = @version.read_limits
|
|
111
102
|
|
|
@@ -285,8 +276,8 @@ module Twilio
|
|
|
285
276
|
|
|
286
277
|
##
|
|
287
278
|
# Access the addresses
|
|
288
|
-
# @return [AddressList]
|
|
289
|
-
# @return [AddressContext] if
|
|
279
|
+
# @return [AddressList]
|
|
280
|
+
# @return [AddressContext] if sid was passed.
|
|
290
281
|
def addresses(sid=:unset)
|
|
291
282
|
raise ArgumentError, 'sid cannot be nil' if sid.nil?
|
|
292
283
|
|
|
@@ -310,8 +301,8 @@ module Twilio
|
|
|
310
301
|
|
|
311
302
|
##
|
|
312
303
|
# Access the applications
|
|
313
|
-
# @return [ApplicationList]
|
|
314
|
-
# @return [ApplicationContext] if
|
|
304
|
+
# @return [ApplicationList]
|
|
305
|
+
# @return [ApplicationContext] if sid was passed.
|
|
315
306
|
def applications(sid=:unset)
|
|
316
307
|
raise ArgumentError, 'sid cannot be nil' if sid.nil?
|
|
317
308
|
|
|
@@ -335,8 +326,8 @@ module Twilio
|
|
|
335
326
|
|
|
336
327
|
##
|
|
337
328
|
# Access the authorized_connect_apps
|
|
338
|
-
# @return [AuthorizedConnectAppList]
|
|
339
|
-
# @return [AuthorizedConnectAppContext] if
|
|
329
|
+
# @return [AuthorizedConnectAppList]
|
|
330
|
+
# @return [AuthorizedConnectAppContext] if connect_app_sid was passed.
|
|
340
331
|
def authorized_connect_apps(connect_app_sid=:unset)
|
|
341
332
|
raise ArgumentError, 'connect_app_sid cannot be nil' if connect_app_sid.nil?
|
|
342
333
|
|
|
@@ -360,8 +351,8 @@ module Twilio
|
|
|
360
351
|
|
|
361
352
|
##
|
|
362
353
|
# Access the available_phone_numbers
|
|
363
|
-
# @return [AvailablePhoneNumberCountryList]
|
|
364
|
-
# @return [AvailablePhoneNumberCountryContext] if
|
|
354
|
+
# @return [AvailablePhoneNumberCountryList]
|
|
355
|
+
# @return [AvailablePhoneNumberCountryContext] if country_code was passed.
|
|
365
356
|
def available_phone_numbers(country_code=:unset)
|
|
366
357
|
raise ArgumentError, 'country_code cannot be nil' if country_code.nil?
|
|
367
358
|
|
|
@@ -385,8 +376,8 @@ module Twilio
|
|
|
385
376
|
|
|
386
377
|
##
|
|
387
378
|
# Access the calls
|
|
388
|
-
# @return [CallList]
|
|
389
|
-
# @return [CallContext] if
|
|
379
|
+
# @return [CallList]
|
|
380
|
+
# @return [CallContext] if sid was passed.
|
|
390
381
|
def calls(sid=:unset)
|
|
391
382
|
raise ArgumentError, 'sid cannot be nil' if sid.nil?
|
|
392
383
|
|
|
@@ -410,8 +401,8 @@ module Twilio
|
|
|
410
401
|
|
|
411
402
|
##
|
|
412
403
|
# Access the conferences
|
|
413
|
-
# @return [ConferenceList]
|
|
414
|
-
# @return [ConferenceContext] if
|
|
404
|
+
# @return [ConferenceList]
|
|
405
|
+
# @return [ConferenceContext] if sid was passed.
|
|
415
406
|
def conferences(sid=:unset)
|
|
416
407
|
raise ArgumentError, 'sid cannot be nil' if sid.nil?
|
|
417
408
|
|
|
@@ -435,8 +426,8 @@ module Twilio
|
|
|
435
426
|
|
|
436
427
|
##
|
|
437
428
|
# Access the connect_apps
|
|
438
|
-
# @return [ConnectAppList]
|
|
439
|
-
# @return [ConnectAppContext] if
|
|
429
|
+
# @return [ConnectAppList]
|
|
430
|
+
# @return [ConnectAppContext] if sid was passed.
|
|
440
431
|
def connect_apps(sid=:unset)
|
|
441
432
|
raise ArgumentError, 'sid cannot be nil' if sid.nil?
|
|
442
433
|
|
|
@@ -460,8 +451,8 @@ module Twilio
|
|
|
460
451
|
|
|
461
452
|
##
|
|
462
453
|
# Access the incoming_phone_numbers
|
|
463
|
-
# @return [IncomingPhoneNumberList]
|
|
464
|
-
# @return [IncomingPhoneNumberContext] if
|
|
454
|
+
# @return [IncomingPhoneNumberList]
|
|
455
|
+
# @return [IncomingPhoneNumberContext] if sid was passed.
|
|
465
456
|
def incoming_phone_numbers(sid=:unset)
|
|
466
457
|
raise ArgumentError, 'sid cannot be nil' if sid.nil?
|
|
467
458
|
|
|
@@ -485,8 +476,8 @@ module Twilio
|
|
|
485
476
|
|
|
486
477
|
##
|
|
487
478
|
# Access the keys
|
|
488
|
-
# @return [KeyList]
|
|
489
|
-
# @return [KeyContext] if
|
|
479
|
+
# @return [KeyList]
|
|
480
|
+
# @return [KeyContext] if sid was passed.
|
|
490
481
|
def keys(sid=:unset)
|
|
491
482
|
raise ArgumentError, 'sid cannot be nil' if sid.nil?
|
|
492
483
|
|
|
@@ -510,8 +501,8 @@ module Twilio
|
|
|
510
501
|
|
|
511
502
|
##
|
|
512
503
|
# Access the messages
|
|
513
|
-
# @return [MessageList]
|
|
514
|
-
# @return [MessageContext] if
|
|
504
|
+
# @return [MessageList]
|
|
505
|
+
# @return [MessageContext] if sid was passed.
|
|
515
506
|
def messages(sid=:unset)
|
|
516
507
|
raise ArgumentError, 'sid cannot be nil' if sid.nil?
|
|
517
508
|
|
|
@@ -535,8 +526,8 @@ module Twilio
|
|
|
535
526
|
|
|
536
527
|
##
|
|
537
528
|
# Access the new_keys
|
|
538
|
-
# @return [NewKeyList]
|
|
539
|
-
# @return [NewKeyContext]
|
|
529
|
+
# @return [NewKeyList]
|
|
530
|
+
# @return [NewKeyContext]
|
|
540
531
|
def new_keys
|
|
541
532
|
unless @new_keys
|
|
542
533
|
@new_keys = NewKeyList.new(
|
|
@@ -550,8 +541,8 @@ module Twilio
|
|
|
550
541
|
|
|
551
542
|
##
|
|
552
543
|
# Access the new_signing_keys
|
|
553
|
-
# @return [NewSigningKeyList]
|
|
554
|
-
# @return [NewSigningKeyContext]
|
|
544
|
+
# @return [NewSigningKeyList]
|
|
545
|
+
# @return [NewSigningKeyContext]
|
|
555
546
|
def new_signing_keys
|
|
556
547
|
unless @new_signing_keys
|
|
557
548
|
@new_signing_keys = NewSigningKeyList.new(
|
|
@@ -565,8 +556,8 @@ module Twilio
|
|
|
565
556
|
|
|
566
557
|
##
|
|
567
558
|
# Access the notifications
|
|
568
|
-
# @return [NotificationList]
|
|
569
|
-
# @return [NotificationContext] if
|
|
559
|
+
# @return [NotificationList]
|
|
560
|
+
# @return [NotificationContext] if sid was passed.
|
|
570
561
|
def notifications(sid=:unset)
|
|
571
562
|
raise ArgumentError, 'sid cannot be nil' if sid.nil?
|
|
572
563
|
|
|
@@ -590,8 +581,8 @@ module Twilio
|
|
|
590
581
|
|
|
591
582
|
##
|
|
592
583
|
# Access the outgoing_caller_ids
|
|
593
|
-
# @return [OutgoingCallerIdList]
|
|
594
|
-
# @return [OutgoingCallerIdContext] if
|
|
584
|
+
# @return [OutgoingCallerIdList]
|
|
585
|
+
# @return [OutgoingCallerIdContext] if sid was passed.
|
|
595
586
|
def outgoing_caller_ids(sid=:unset)
|
|
596
587
|
raise ArgumentError, 'sid cannot be nil' if sid.nil?
|
|
597
588
|
|
|
@@ -615,8 +606,8 @@ module Twilio
|
|
|
615
606
|
|
|
616
607
|
##
|
|
617
608
|
# Access the queues
|
|
618
|
-
# @return [QueueList]
|
|
619
|
-
# @return [QueueContext] if
|
|
609
|
+
# @return [QueueList]
|
|
610
|
+
# @return [QueueContext] if sid was passed.
|
|
620
611
|
def queues(sid=:unset)
|
|
621
612
|
raise ArgumentError, 'sid cannot be nil' if sid.nil?
|
|
622
613
|
|
|
@@ -640,8 +631,8 @@ module Twilio
|
|
|
640
631
|
|
|
641
632
|
##
|
|
642
633
|
# Access the recordings
|
|
643
|
-
# @return [RecordingList]
|
|
644
|
-
# @return [RecordingContext] if
|
|
634
|
+
# @return [RecordingList]
|
|
635
|
+
# @return [RecordingContext] if sid was passed.
|
|
645
636
|
def recordings(sid=:unset)
|
|
646
637
|
raise ArgumentError, 'sid cannot be nil' if sid.nil?
|
|
647
638
|
|
|
@@ -665,8 +656,8 @@ module Twilio
|
|
|
665
656
|
|
|
666
657
|
##
|
|
667
658
|
# Access the signing_keys
|
|
668
|
-
# @return [SigningKeyList]
|
|
669
|
-
# @return [SigningKeyContext] if
|
|
659
|
+
# @return [SigningKeyList]
|
|
660
|
+
# @return [SigningKeyContext] if sid was passed.
|
|
670
661
|
def signing_keys(sid=:unset)
|
|
671
662
|
raise ArgumentError, 'sid cannot be nil' if sid.nil?
|
|
672
663
|
|
|
@@ -690,8 +681,8 @@ module Twilio
|
|
|
690
681
|
|
|
691
682
|
##
|
|
692
683
|
# Access the sip
|
|
693
|
-
# @return [SipList]
|
|
694
|
-
# @return [SipContext]
|
|
684
|
+
# @return [SipList]
|
|
685
|
+
# @return [SipContext]
|
|
695
686
|
def sip
|
|
696
687
|
unless @sip
|
|
697
688
|
@sip = SipList.new(
|
|
@@ -705,8 +696,8 @@ module Twilio
|
|
|
705
696
|
|
|
706
697
|
##
|
|
707
698
|
# Access the short_codes
|
|
708
|
-
# @return [ShortCodeList]
|
|
709
|
-
# @return [ShortCodeContext] if
|
|
699
|
+
# @return [ShortCodeList]
|
|
700
|
+
# @return [ShortCodeContext] if sid was passed.
|
|
710
701
|
def short_codes(sid=:unset)
|
|
711
702
|
raise ArgumentError, 'sid cannot be nil' if sid.nil?
|
|
712
703
|
|
|
@@ -730,8 +721,8 @@ module Twilio
|
|
|
730
721
|
|
|
731
722
|
##
|
|
732
723
|
# Access the tokens
|
|
733
|
-
# @return [TokenList]
|
|
734
|
-
# @return [TokenContext]
|
|
724
|
+
# @return [TokenList]
|
|
725
|
+
# @return [TokenContext]
|
|
735
726
|
def tokens
|
|
736
727
|
unless @tokens
|
|
737
728
|
@tokens = TokenList.new(
|
|
@@ -745,8 +736,8 @@ module Twilio
|
|
|
745
736
|
|
|
746
737
|
##
|
|
747
738
|
# Access the transcriptions
|
|
748
|
-
# @return [TranscriptionList]
|
|
749
|
-
# @return [TranscriptionContext] if
|
|
739
|
+
# @return [TranscriptionList]
|
|
740
|
+
# @return [TranscriptionContext] if sid was passed.
|
|
750
741
|
def transcriptions(sid=:unset)
|
|
751
742
|
raise ArgumentError, 'sid cannot be nil' if sid.nil?
|
|
752
743
|
|
|
@@ -770,8 +761,8 @@ module Twilio
|
|
|
770
761
|
|
|
771
762
|
##
|
|
772
763
|
# Access the usage
|
|
773
|
-
# @return [UsageList]
|
|
774
|
-
# @return [UsageContext]
|
|
764
|
+
# @return [UsageList]
|
|
765
|
+
# @return [UsageContext]
|
|
775
766
|
def usage
|
|
776
767
|
unless @usage
|
|
777
768
|
@usage = UsageList.new(
|
|
@@ -785,8 +776,8 @@ module Twilio
|
|
|
785
776
|
|
|
786
777
|
##
|
|
787
778
|
# Access the validation_requests
|
|
788
|
-
# @return [ValidationRequestList]
|
|
789
|
-
# @return [ValidationRequestContext]
|
|
779
|
+
# @return [ValidationRequestList]
|
|
780
|
+
# @return [ValidationRequestContext]
|
|
790
781
|
def validation_requests
|
|
791
782
|
unless @validation_requests
|
|
792
783
|
@validation_requests = ValidationRequestList.new(
|
|
@@ -841,7 +832,6 @@ module Twilio
|
|
|
841
832
|
##
|
|
842
833
|
# Generate an instance context for the instance, the context is capable of
|
|
843
834
|
# performing various actions. All instance actions are proxied to the context
|
|
844
|
-
# @param [Version] version Version that contains the resource
|
|
845
835
|
# @return [AccountContext] AccountContext for this AccountInstance
|
|
846
836
|
def context
|
|
847
837
|
unless @instance_context
|
|
@@ -853,42 +843,62 @@ module Twilio
|
|
|
853
843
|
@instance_context
|
|
854
844
|
end
|
|
855
845
|
|
|
846
|
+
##
|
|
847
|
+
# @return [String] The authorization token for this account
|
|
856
848
|
def auth_token
|
|
857
849
|
@properties['auth_token']
|
|
858
850
|
end
|
|
859
851
|
|
|
852
|
+
##
|
|
853
|
+
# @return [Time] The date this account was created
|
|
860
854
|
def date_created
|
|
861
855
|
@properties['date_created']
|
|
862
856
|
end
|
|
863
857
|
|
|
858
|
+
##
|
|
859
|
+
# @return [Time] The date this account was last updated
|
|
864
860
|
def date_updated
|
|
865
861
|
@properties['date_updated']
|
|
866
862
|
end
|
|
867
863
|
|
|
864
|
+
##
|
|
865
|
+
# @return [String] A human readable description of this account
|
|
868
866
|
def friendly_name
|
|
869
867
|
@properties['friendly_name']
|
|
870
868
|
end
|
|
871
869
|
|
|
870
|
+
##
|
|
871
|
+
# @return [String] The unique 34 character id representing the parent of this account
|
|
872
872
|
def owner_account_sid
|
|
873
873
|
@properties['owner_account_sid']
|
|
874
874
|
end
|
|
875
875
|
|
|
876
|
+
##
|
|
877
|
+
# @return [String] A 34 character string that uniquely identifies this resource.
|
|
876
878
|
def sid
|
|
877
879
|
@properties['sid']
|
|
878
880
|
end
|
|
879
881
|
|
|
882
|
+
##
|
|
883
|
+
# @return [account.Status] The status of this account
|
|
880
884
|
def status
|
|
881
885
|
@properties['status']
|
|
882
886
|
end
|
|
883
887
|
|
|
888
|
+
##
|
|
889
|
+
# @return [String] Account Instance Subresources
|
|
884
890
|
def subresource_uris
|
|
885
891
|
@properties['subresource_uris']
|
|
886
892
|
end
|
|
887
893
|
|
|
894
|
+
##
|
|
895
|
+
# @return [account.Type] The type of this account
|
|
888
896
|
def type
|
|
889
897
|
@properties['type']
|
|
890
898
|
end
|
|
891
899
|
|
|
900
|
+
##
|
|
901
|
+
# @return [String] The URI for this resource, relative to `https://api.twilio.com`
|
|
892
902
|
def uri
|
|
893
903
|
@properties['uri']
|
|
894
904
|
end
|
|
@@ -117,15 +117,6 @@ module Twilio
|
|
|
117
117
|
# When passed a block, yields AddressInstance records from the API.
|
|
118
118
|
# This operation lazily loads records as efficiently as possible until the limit
|
|
119
119
|
# is reached.
|
|
120
|
-
# @param [String] customer_name The customer_name
|
|
121
|
-
# @param [String] friendly_name The friendly_name
|
|
122
|
-
# @param [String] iso_country The iso_country
|
|
123
|
-
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
124
|
-
# guarantees to never return more than limit. Default is no limit
|
|
125
|
-
# @param [Integer] page_size Number of records to fetch per request, when not set will use
|
|
126
|
-
# the default value of 50 records. If no page_size is defined
|
|
127
|
-
# but a limit is defined, stream() will attempt to read the
|
|
128
|
-
# limit with the most efficient page size, i.e. min(limit, 1000)
|
|
129
120
|
def each
|
|
130
121
|
limits = @version.read_limits
|
|
131
122
|
|
|
@@ -191,7 +182,6 @@ module Twilio
|
|
|
191
182
|
# @param [Version] version Version that contains the resource
|
|
192
183
|
# @param [Response] response Response from the API
|
|
193
184
|
# @param [Hash] solution Path solution for the resource
|
|
194
|
-
# @param [String] account_sid The account_sid
|
|
195
185
|
# @return [AddressPage] AddressPage
|
|
196
186
|
def initialize(version, response, solution)
|
|
197
187
|
super(version, response)
|
|
@@ -304,8 +294,8 @@ module Twilio
|
|
|
304
294
|
|
|
305
295
|
##
|
|
306
296
|
# Access the dependent_phone_numbers
|
|
307
|
-
# @return [DependentPhoneNumberList]
|
|
308
|
-
# @return [DependentPhoneNumberContext]
|
|
297
|
+
# @return [DependentPhoneNumberList]
|
|
298
|
+
# @return [DependentPhoneNumberContext]
|
|
309
299
|
def dependent_phone_numbers
|
|
310
300
|
unless @dependent_phone_numbers
|
|
311
301
|
@dependent_phone_numbers = DependentPhoneNumberList.new(
|
|
@@ -366,7 +356,6 @@ module Twilio
|
|
|
366
356
|
##
|
|
367
357
|
# Generate an instance context for the instance, the context is capable of
|
|
368
358
|
# performing various actions. All instance actions are proxied to the context
|
|
369
|
-
# @param [Version] version Version that contains the resource
|
|
370
359
|
# @return [AddressContext] AddressContext for this AddressInstance
|
|
371
360
|
def context
|
|
372
361
|
unless @instance_context
|
|
@@ -379,58 +368,86 @@ module Twilio
|
|
|
379
368
|
@instance_context
|
|
380
369
|
end
|
|
381
370
|
|
|
371
|
+
##
|
|
372
|
+
# @return [String] The account_sid
|
|
382
373
|
def account_sid
|
|
383
374
|
@properties['account_sid']
|
|
384
375
|
end
|
|
385
376
|
|
|
377
|
+
##
|
|
378
|
+
# @return [String] The city
|
|
386
379
|
def city
|
|
387
380
|
@properties['city']
|
|
388
381
|
end
|
|
389
382
|
|
|
383
|
+
##
|
|
384
|
+
# @return [String] The customer_name
|
|
390
385
|
def customer_name
|
|
391
386
|
@properties['customer_name']
|
|
392
387
|
end
|
|
393
388
|
|
|
389
|
+
##
|
|
390
|
+
# @return [Time] The date_created
|
|
394
391
|
def date_created
|
|
395
392
|
@properties['date_created']
|
|
396
393
|
end
|
|
397
394
|
|
|
395
|
+
##
|
|
396
|
+
# @return [Time] The date_updated
|
|
398
397
|
def date_updated
|
|
399
398
|
@properties['date_updated']
|
|
400
399
|
end
|
|
401
400
|
|
|
401
|
+
##
|
|
402
|
+
# @return [String] The friendly_name
|
|
402
403
|
def friendly_name
|
|
403
404
|
@properties['friendly_name']
|
|
404
405
|
end
|
|
405
406
|
|
|
407
|
+
##
|
|
408
|
+
# @return [String] The iso_country
|
|
406
409
|
def iso_country
|
|
407
410
|
@properties['iso_country']
|
|
408
411
|
end
|
|
409
412
|
|
|
413
|
+
##
|
|
414
|
+
# @return [String] The postal_code
|
|
410
415
|
def postal_code
|
|
411
416
|
@properties['postal_code']
|
|
412
417
|
end
|
|
413
418
|
|
|
419
|
+
##
|
|
420
|
+
# @return [String] The region
|
|
414
421
|
def region
|
|
415
422
|
@properties['region']
|
|
416
423
|
end
|
|
417
424
|
|
|
425
|
+
##
|
|
426
|
+
# @return [String] The sid
|
|
418
427
|
def sid
|
|
419
428
|
@properties['sid']
|
|
420
429
|
end
|
|
421
430
|
|
|
431
|
+
##
|
|
432
|
+
# @return [String] The street
|
|
422
433
|
def street
|
|
423
434
|
@properties['street']
|
|
424
435
|
end
|
|
425
436
|
|
|
437
|
+
##
|
|
438
|
+
# @return [String] The uri
|
|
426
439
|
def uri
|
|
427
440
|
@properties['uri']
|
|
428
441
|
end
|
|
429
442
|
|
|
443
|
+
##
|
|
444
|
+
# @return [Boolean] The emergency_enabled
|
|
430
445
|
def emergency_enabled
|
|
431
446
|
@properties['emergency_enabled']
|
|
432
447
|
end
|
|
433
448
|
|
|
449
|
+
##
|
|
450
|
+
# @return [Boolean] The validated
|
|
434
451
|
def validated
|
|
435
452
|
@properties['validated']
|
|
436
453
|
end
|