twilio-ruby 5.4.4 → 5.4.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (371) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +12 -0
  3. data/README.md +16 -2
  4. data/lib/twilio-ruby/rest/accounts/v1.rb +3 -9
  5. data/lib/twilio-ruby/rest/accounts/v1/credential.rb +19 -3
  6. data/lib/twilio-ruby/rest/accounts/v1/credential/aws.rb +338 -0
  7. data/lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb +11 -11
  8. data/lib/twilio-ruby/rest/api/v2010.rb +1 -1
  9. data/lib/twilio-ruby/rest/api/v2010/account.rb +51 -51
  10. data/lib/twilio-ruby/rest/api/v2010/account/address.rb +8 -8
  11. data/lib/twilio-ruby/rest/api/v2010/account/address/dependent_phone_number.rb +2 -2
  12. data/lib/twilio-ruby/rest/api/v2010/account/application.rb +9 -9
  13. data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +4 -4
  14. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number.rb +4 -4
  15. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/local.rb +1 -1
  16. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/mobile.rb +1 -1
  17. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/toll_free.rb +1 -1
  18. data/lib/twilio-ruby/rest/api/v2010/account/call.rb +13 -13
  19. data/lib/twilio-ruby/rest/api/v2010/account/call/feedback.rb +5 -5
  20. data/lib/twilio-ruby/rest/api/v2010/account/call/feedback_summary.rb +5 -5
  21. data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +3 -3
  22. data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +3 -3
  23. data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +10 -10
  24. data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +3 -3
  25. data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +8 -8
  26. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +10 -10
  27. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +4 -4
  28. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension.rb +2 -2
  29. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +3 -3
  30. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +3 -3
  31. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +3 -3
  32. data/lib/twilio-ruby/rest/api/v2010/account/key.rb +10 -10
  33. data/lib/twilio-ruby/rest/api/v2010/account/message.rb +12 -12
  34. data/lib/twilio-ruby/rest/api/v2010/account/message/feedback.rb +1 -1
  35. data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +2 -2
  36. data/lib/twilio-ruby/rest/api/v2010/account/new_key.rb +3 -3
  37. data/lib/twilio-ruby/rest/api/v2010/account/new_signing_key.rb +3 -3
  38. data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +6 -6
  39. data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +7 -7
  40. data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +14 -14
  41. data/lib/twilio-ruby/rest/api/v2010/account/queue/member.rb +5 -5
  42. data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +8 -8
  43. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +3 -3
  44. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb +2 -2
  45. data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +3 -3
  46. data/lib/twilio-ruby/rest/api/v2010/account/short_code.rb +8 -8
  47. data/lib/twilio-ruby/rest/api/v2010/account/signing_key.rb +10 -10
  48. data/lib/twilio-ruby/rest/api/v2010/account/sip.rb +7 -7
  49. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +11 -11
  50. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +6 -6
  51. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +11 -11
  52. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +4 -4
  53. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +4 -4
  54. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +11 -11
  55. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +5 -5
  56. data/lib/twilio-ruby/rest/api/v2010/account/token.rb +3 -3
  57. data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +6 -6
  58. data/lib/twilio-ruby/rest/api/v2010/account/usage.rb +4 -4
  59. data/lib/twilio-ruby/rest/api/v2010/account/usage/record.rb +10 -10
  60. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/all_time.rb +2 -2
  61. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/daily.rb +2 -2
  62. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/last_month.rb +2 -2
  63. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/monthly.rb +2 -2
  64. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/this_month.rb +2 -2
  65. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/today.rb +2 -2
  66. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yearly.rb +2 -2
  67. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yesterday.rb +2 -2
  68. data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +8 -8
  69. data/lib/twilio-ruby/rest/api/v2010/account/validation_request.rb +2 -2
  70. data/lib/twilio-ruby/rest/chat/v1.rb +2 -2
  71. data/lib/twilio-ruby/rest/chat/v1/credential.rb +9 -9
  72. data/lib/twilio-ruby/rest/chat/v1/service.rb +16 -16
  73. data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +13 -13
  74. data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +4 -4
  75. data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +5 -5
  76. data/lib/twilio-ruby/rest/chat/v1/service/channel/message.rb +6 -6
  77. data/lib/twilio-ruby/rest/chat/v1/service/role.rb +11 -11
  78. data/lib/twilio-ruby/rest/chat/v1/service/user.rb +10 -10
  79. data/lib/twilio-ruby/rest/chat/v1/service/user/user_channel.rb +2 -2
  80. data/lib/twilio-ruby/rest/chat/v2.rb +2 -2
  81. data/lib/twilio-ruby/rest/chat/v2/credential.rb +9 -9
  82. data/lib/twilio-ruby/rest/chat/v2/service.rb +18 -18
  83. data/lib/twilio-ruby/rest/chat/v2/service/binding.rb +7 -7
  84. data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +12 -12
  85. data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +4 -4
  86. data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +3 -3
  87. data/lib/twilio-ruby/rest/chat/v2/service/channel/message.rb +3 -3
  88. data/lib/twilio-ruby/rest/chat/v2/service/role.rb +11 -11
  89. data/lib/twilio-ruby/rest/chat/v2/service/user.rb +11 -11
  90. data/lib/twilio-ruby/rest/chat/v2/service/user/user_binding.rb +4 -4
  91. data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +2 -2
  92. data/lib/twilio-ruby/rest/fax/v1.rb +1 -1
  93. data/lib/twilio-ruby/rest/fax/v1/fax.rb +12 -12
  94. data/lib/twilio-ruby/rest/fax/v1/fax/fax_media.rb +7 -7
  95. data/lib/twilio-ruby/rest/ip_messaging/v1.rb +2 -2
  96. data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +9 -9
  97. data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +16 -16
  98. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +13 -13
  99. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +4 -4
  100. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +5 -5
  101. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +6 -6
  102. data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +11 -11
  103. data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +10 -10
  104. data/lib/twilio-ruby/rest/ip_messaging/v1/service/user/user_channel.rb +2 -2
  105. data/lib/twilio-ruby/rest/ip_messaging/v2.rb +2 -2
  106. data/lib/twilio-ruby/rest/ip_messaging/v2/credential.rb +9 -9
  107. data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +18 -18
  108. data/lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb +7 -7
  109. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +12 -12
  110. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +4 -4
  111. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +3 -3
  112. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/message.rb +3 -3
  113. data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +11 -11
  114. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +11 -11
  115. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_binding.rb +4 -4
  116. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_channel.rb +2 -2
  117. data/lib/twilio-ruby/rest/lookups/v1.rb +1 -1
  118. data/lib/twilio-ruby/rest/lookups/v1/phone_number.rb +6 -6
  119. data/lib/twilio-ruby/rest/messaging/v1.rb +1 -1
  120. data/lib/twilio-ruby/rest/messaging/v1/service.rb +15 -15
  121. data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +9 -9
  122. data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +9 -9
  123. data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +9 -9
  124. data/lib/twilio-ruby/rest/monitor/v1.rb +2 -2
  125. data/lib/twilio-ruby/rest/monitor/v1/alert.rb +6 -6
  126. data/lib/twilio-ruby/rest/monitor/v1/event.rb +6 -6
  127. data/lib/twilio-ruby/rest/notify/v1.rb +2 -2
  128. data/lib/twilio-ruby/rest/notify/v1/credential.rb +9 -9
  129. data/lib/twilio-ruby/rest/notify/v1/service.rb +15 -15
  130. data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +7 -7
  131. data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +2 -2
  132. data/lib/twilio-ruby/rest/notify/v1/service/segment.rb +3 -3
  133. data/lib/twilio-ruby/rest/notify/v1/service/user.rb +9 -9
  134. data/lib/twilio-ruby/rest/notify/v1/service/user/segment_memberships.rb +2 -2
  135. data/lib/twilio-ruby/rest/notify/v1/service/user/user_binding.rb +4 -4
  136. data/lib/twilio-ruby/rest/preview.rb +15 -0
  137. data/lib/twilio-ruby/rest/preview/acc_security.rb +1 -1
  138. data/lib/twilio-ruby/rest/preview/acc_security/service.rb +14 -14
  139. data/lib/twilio-ruby/rest/preview/acc_security/service/verification.rb +3 -3
  140. data/lib/twilio-ruby/rest/preview/acc_security/service/verification_check.rb +3 -3
  141. data/lib/twilio-ruby/rest/preview/bulk_exports.rb +2 -2
  142. data/lib/twilio-ruby/rest/preview/bulk_exports/export.rb +6 -6
  143. data/lib/twilio-ruby/rest/preview/bulk_exports/export/day.rb +3 -3
  144. data/lib/twilio-ruby/rest/preview/bulk_exports/export_configuration.rb +7 -7
  145. data/lib/twilio-ruby/rest/preview/deployed_devices.rb +1 -1
  146. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet.rb +19 -19
  147. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/certificate.rb +11 -11
  148. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/deployment.rb +12 -12
  149. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/device.rb +9 -9
  150. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/key.rb +12 -12
  151. data/lib/twilio-ruby/rest/preview/hosted_numbers.rb +2 -2
  152. data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +9 -9
  153. data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +9 -11
  154. data/lib/twilio-ruby/rest/preview/marketplace.rb +2 -2
  155. data/lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb +9 -9
  156. data/lib/twilio-ruby/rest/preview/marketplace/available_add_on/available_add_on_extension.rb +4 -4
  157. data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +12 -12
  158. data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on/installed_add_on_extension.rb +6 -6
  159. data/lib/twilio-ruby/rest/preview/proxy.rb +1 -1
  160. data/lib/twilio-ruby/rest/preview/proxy/service.rb +16 -16
  161. data/lib/twilio-ruby/rest/preview/proxy/service/phone_number.rb +9 -9
  162. data/lib/twilio-ruby/rest/preview/proxy/service/session.rb +12 -12
  163. data/lib/twilio-ruby/rest/preview/proxy/service/session/interaction.rb +2 -2
  164. data/lib/twilio-ruby/rest/preview/proxy/service/session/participant.rb +2 -2
  165. data/lib/twilio-ruby/rest/preview/proxy/service/session/participant/message_interaction.rb +3 -3
  166. data/lib/twilio-ruby/rest/preview/proxy/service/short_code.rb +9 -9
  167. data/lib/twilio-ruby/rest/preview/studio.rb +41 -0
  168. data/lib/twilio-ruby/rest/preview/studio/flow.rb +353 -0
  169. data/lib/twilio-ruby/rest/preview/studio/flow/engagement.rb +384 -0
  170. data/lib/twilio-ruby/rest/preview/studio/flow/engagement/step.rb +348 -0
  171. data/lib/twilio-ruby/rest/preview/sync.rb +1 -1
  172. data/lib/twilio-ruby/rest/preview/sync/service.rb +15 -15
  173. data/lib/twilio-ruby/rest/preview/sync/service/document.rb +13 -13
  174. data/lib/twilio-ruby/rest/preview/sync/service/document/document_permission.rb +5 -5
  175. data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +11 -11
  176. data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_item.rb +6 -6
  177. data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_permission.rb +5 -5
  178. data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +11 -11
  179. data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb +7 -7
  180. data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb +5 -5
  181. data/lib/twilio-ruby/rest/preview/understand.rb +1 -1
  182. data/lib/twilio-ruby/rest/preview/understand/service.rb +17 -17
  183. data/lib/twilio-ruby/rest/preview/understand/service/field_type.rb +13 -13
  184. data/lib/twilio-ruby/rest/preview/understand/service/field_type/field_value.rb +4 -4
  185. data/lib/twilio-ruby/rest/preview/understand/service/intent.rb +16 -16
  186. data/lib/twilio-ruby/rest/preview/understand/service/intent/field.rb +4 -4
  187. data/lib/twilio-ruby/rest/preview/understand/service/intent/sample.rb +6 -6
  188. data/lib/twilio-ruby/rest/preview/understand/service/model_build.rb +12 -12
  189. data/lib/twilio-ruby/rest/preview/understand/service/query.rb +10 -10
  190. data/lib/twilio-ruby/rest/preview/wireless.rb +3 -3
  191. data/lib/twilio-ruby/rest/preview/wireless/command.rb +7 -7
  192. data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +11 -11
  193. data/lib/twilio-ruby/rest/preview/wireless/sim.rb +8 -8
  194. data/lib/twilio-ruby/rest/preview/wireless/sim/usage.rb +7 -7
  195. data/lib/twilio-ruby/rest/pricing/v1.rb +9 -27
  196. data/lib/twilio-ruby/rest/pricing/v1/messaging.rb +4 -4
  197. data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +7 -7
  198. data/lib/twilio-ruby/rest/pricing/v1/phone_number.rb +4 -4
  199. data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +7 -7
  200. data/lib/twilio-ruby/rest/pricing/v1/voice.rb +6 -6
  201. data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +7 -7
  202. data/lib/twilio-ruby/rest/pricing/v1/voice/number.rb +5 -5
  203. data/lib/twilio-ruby/rest/proxy/v1.rb +1 -1
  204. data/lib/twilio-ruby/rest/proxy/v1/service.rb +87 -19
  205. data/lib/twilio-ruby/rest/proxy/v1/service/phone_number.rb +11 -10
  206. data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +35 -19
  207. data/lib/twilio-ruby/rest/proxy/v1/service/session/interaction.rb +2 -2
  208. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +11 -40
  209. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb +3 -3
  210. data/lib/twilio-ruby/rest/proxy/v1/service/short_code.rb +10 -10
  211. data/lib/twilio-ruby/rest/sync/v1.rb +1 -1
  212. data/lib/twilio-ruby/rest/sync/v1/service.rb +17 -17
  213. data/lib/twilio-ruby/rest/sync/v1/service/document.rb +13 -13
  214. data/lib/twilio-ruby/rest/sync/v1/service/document/document_permission.rb +5 -5
  215. data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +11 -11
  216. data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +6 -6
  217. data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_permission.rb +5 -5
  218. data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +11 -11
  219. data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +7 -7
  220. data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_permission.rb +5 -5
  221. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +9 -9
  222. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream/stream_message.rb +2 -2
  223. data/lib/twilio-ruby/rest/taskrouter/v1.rb +1 -1
  224. data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +26 -26
  225. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +12 -12
  226. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/event.rb +6 -6
  227. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +9 -9
  228. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +3 -3
  229. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_channel.rb +6 -6
  230. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +10 -10
  231. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics.rb +2 -2
  232. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics.rb +4 -4
  233. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_statistics.rb +2 -2
  234. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queues_statistics.rb +2 -2
  235. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +16 -16
  236. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +3 -3
  237. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_channel.rb +5 -5
  238. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb +3 -3
  239. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_cumulative_statistics.rb +6 -6
  240. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_real_time_statistics.rb +7 -7
  241. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_statistics.rb +5 -5
  242. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +12 -12
  243. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics.rb +2 -2
  244. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_real_time_statistics.rb +4 -4
  245. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_statistics.rb +2 -2
  246. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_cumulative_statistics.rb +5 -5
  247. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_real_time_statistics.rb +7 -7
  248. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_statistics.rb +5 -5
  249. data/lib/twilio-ruby/rest/trunking/v1.rb +1 -1
  250. data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +17 -17
  251. data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +9 -9
  252. data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +8 -8
  253. data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +9 -9
  254. data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +9 -9
  255. data/lib/twilio-ruby/rest/video/v1.rb +2 -2
  256. data/lib/twilio-ruby/rest/video/v1/recording.rb +6 -6
  257. data/lib/twilio-ruby/rest/video/v1/room.rb +14 -14
  258. data/lib/twilio-ruby/rest/video/v1/room/recording.rb +6 -6
  259. data/lib/twilio-ruby/rest/video/v1/room/room_participant.rb +10 -10
  260. data/lib/twilio-ruby/rest/video/v1/room/room_participant/room_participant_published_track.rb +3 -3
  261. data/lib/twilio-ruby/rest/wireless/v1.rb +3 -3
  262. data/lib/twilio-ruby/rest/wireless/v1/command.rb +8 -8
  263. data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +11 -11
  264. data/lib/twilio-ruby/rest/wireless/v1/sim.rb +9 -9
  265. data/lib/twilio-ruby/rest/wireless/v1/sim/data_session.rb +3 -3
  266. data/lib/twilio-ruby/rest/wireless/v1/sim/usage_record.rb +3 -3
  267. data/lib/twilio-ruby/version.rb +1 -1
  268. data/spec/integration/accounts/v1/credential/aws_spec.rb +224 -0
  269. data/spec/integration/accounts/v1/credential/public_key_spec.rb +1 -1
  270. data/spec/integration/api/v2010/account/application_spec.rb +1 -1
  271. data/spec/integration/api/v2010/account/call/feedback_spec.rb +2 -2
  272. data/spec/integration/api/v2010/account/call_spec.rb +1 -1
  273. data/spec/integration/api/v2010/account/conference/participant_spec.rb +1 -1
  274. data/spec/integration/api/v2010/account/incoming_phone_number/assigned_add_on_spec.rb +1 -1
  275. data/spec/integration/api/v2010/account/incoming_phone_number/local_spec.rb +1 -1
  276. data/spec/integration/api/v2010/account/incoming_phone_number/mobile_spec.rb +1 -1
  277. data/spec/integration/api/v2010/account/incoming_phone_number/toll_free_spec.rb +1 -1
  278. data/spec/integration/api/v2010/account/message_spec.rb +2 -2
  279. data/spec/integration/api/v2010/account/queue/member_spec.rb +1 -1
  280. data/spec/integration/api/v2010/account/queue_spec.rb +1 -1
  281. data/spec/integration/api/v2010/account/sip/credential_list/credential_spec.rb +1 -1
  282. data/spec/integration/api/v2010/account/sip/credential_list_spec.rb +2 -2
  283. data/spec/integration/api/v2010/account/sip/domain/credential_list_mapping_spec.rb +1 -1
  284. data/spec/integration/api/v2010/account/sip/domain/ip_access_control_list_mapping_spec.rb +1 -1
  285. data/spec/integration/api/v2010/account/sip/domain_spec.rb +1 -1
  286. data/spec/integration/api/v2010/account/sip/ip_access_control_list/ip_address_spec.rb +1 -1
  287. data/spec/integration/api/v2010/account/sip/ip_access_control_list_spec.rb +2 -2
  288. data/spec/integration/api/v2010/account/validation_request_spec.rb +1 -1
  289. data/spec/integration/chat/v1/credential_spec.rb +1 -1
  290. data/spec/integration/chat/v1/service/channel/invite_spec.rb +1 -1
  291. data/spec/integration/chat/v1/service/channel/member_spec.rb +1 -1
  292. data/spec/integration/chat/v1/service/channel/message_spec.rb +1 -1
  293. data/spec/integration/chat/v1/service/role_spec.rb +1 -1
  294. data/spec/integration/chat/v1/service/user_spec.rb +1 -1
  295. data/spec/integration/chat/v1/service_spec.rb +1 -1
  296. data/spec/integration/chat/v2/credential_spec.rb +1 -1
  297. data/spec/integration/chat/v2/service/channel/invite_spec.rb +1 -1
  298. data/spec/integration/chat/v2/service/channel/member_spec.rb +1 -1
  299. data/spec/integration/chat/v2/service/role_spec.rb +1 -1
  300. data/spec/integration/chat/v2/service/user_spec.rb +1 -1
  301. data/spec/integration/chat/v2/service_spec.rb +1 -1
  302. data/spec/integration/fax/v1/fax_spec.rb +1 -1
  303. data/spec/integration/ip_messaging/v1/credential_spec.rb +1 -1
  304. data/spec/integration/ip_messaging/v1/service/channel/invite_spec.rb +1 -1
  305. data/spec/integration/ip_messaging/v1/service/channel/member_spec.rb +1 -1
  306. data/spec/integration/ip_messaging/v1/service/channel/message_spec.rb +1 -1
  307. data/spec/integration/ip_messaging/v1/service/role_spec.rb +1 -1
  308. data/spec/integration/ip_messaging/v1/service/user_spec.rb +1 -1
  309. data/spec/integration/ip_messaging/v1/service_spec.rb +1 -1
  310. data/spec/integration/ip_messaging/v2/credential_spec.rb +1 -1
  311. data/spec/integration/ip_messaging/v2/service/channel/invite_spec.rb +1 -1
  312. data/spec/integration/ip_messaging/v2/service/channel/member_spec.rb +1 -1
  313. data/spec/integration/ip_messaging/v2/service/role_spec.rb +1 -1
  314. data/spec/integration/ip_messaging/v2/service/user_spec.rb +1 -1
  315. data/spec/integration/ip_messaging/v2/service_spec.rb +1 -1
  316. data/spec/integration/messaging/v1/service/alpha_sender_spec.rb +1 -1
  317. data/spec/integration/messaging/v1/service/phone_number_spec.rb +1 -1
  318. data/spec/integration/messaging/v1/service/short_code_spec.rb +1 -1
  319. data/spec/integration/messaging/v1/service_spec.rb +1 -1
  320. data/spec/integration/notify/v1/credential_spec.rb +1 -1
  321. data/spec/integration/notify/v1/service/binding_spec.rb +1 -1
  322. data/spec/integration/notify/v1/service/user/segment_memberships_spec.rb +1 -1
  323. data/spec/integration/notify/v1/service/user/user_binding_spec.rb +1 -1
  324. data/spec/integration/notify/v1/service/user_spec.rb +1 -1
  325. data/spec/integration/preview/acc_security/service/verification_check_spec.rb +1 -1
  326. data/spec/integration/preview/acc_security/service/verification_spec.rb +1 -1
  327. data/spec/integration/preview/acc_security/service_spec.rb +1 -1
  328. data/spec/integration/preview/deployed_devices/fleet/certificate_spec.rb +1 -1
  329. data/spec/integration/preview/hosted_numbers/hosted_number_order_spec.rb +4 -4
  330. data/spec/integration/preview/marketplace/installed_add_on/installed_add_on_extension_spec.rb +1 -1
  331. data/spec/integration/preview/proxy/service/phone_number_spec.rb +1 -1
  332. data/spec/integration/preview/proxy/service/session/participant_spec.rb +1 -1
  333. data/spec/integration/preview/proxy/service/short_code_spec.rb +1 -1
  334. data/spec/integration/preview/studio/flow/engagement/step_spec.rb +96 -0
  335. data/spec/integration/preview/studio/flow/engagement_spec.rb +171 -0
  336. data/spec/integration/preview/studio/flow_spec.rb +115 -0
  337. data/spec/integration/preview/sync/service/document/document_permission_spec.rb +1 -1
  338. data/spec/integration/preview/sync/service/document_spec.rb +1 -1
  339. data/spec/integration/preview/sync/service/sync_list/sync_list_item_spec.rb +2 -2
  340. data/spec/integration/preview/sync/service/sync_list/sync_list_permission_spec.rb +1 -1
  341. data/spec/integration/preview/sync/service/sync_map/sync_map_item_spec.rb +2 -2
  342. data/spec/integration/preview/sync/service/sync_map/sync_map_permission_spec.rb +1 -1
  343. data/spec/integration/preview/understand/service/field_type/field_value_spec.rb +1 -1
  344. data/spec/integration/preview/understand/service/field_type_spec.rb +1 -1
  345. data/spec/integration/preview/understand/service/intent/field_spec.rb +1 -1
  346. data/spec/integration/preview/understand/service/intent/sample_spec.rb +1 -1
  347. data/spec/integration/preview/understand/service/intent_spec.rb +1 -1
  348. data/spec/integration/preview/understand/service/query_spec.rb +1 -1
  349. data/spec/integration/preview/wireless/command_spec.rb +1 -1
  350. data/spec/integration/proxy/v1/service/phone_number_spec.rb +15 -7
  351. data/spec/integration/proxy/v1/service/session/participant_spec.rb +1 -4
  352. data/spec/integration/proxy/v1/service/session_spec.rb +3 -0
  353. data/spec/integration/proxy/v1/service/short_code_spec.rb +13 -4
  354. data/spec/integration/proxy/v1/service_spec.rb +12 -0
  355. data/spec/integration/sync/v1/service/document/document_permission_spec.rb +1 -1
  356. data/spec/integration/sync/v1/service/document_spec.rb +1 -1
  357. data/spec/integration/sync/v1/service/sync_list/sync_list_item_spec.rb +2 -2
  358. data/spec/integration/sync/v1/service/sync_list/sync_list_permission_spec.rb +1 -1
  359. data/spec/integration/sync/v1/service/sync_map/sync_map_item_spec.rb +2 -2
  360. data/spec/integration/sync/v1/service/sync_map/sync_map_permission_spec.rb +1 -1
  361. data/spec/integration/sync/v1/service/sync_stream/stream_message_spec.rb +1 -1
  362. data/spec/integration/taskrouter/v1/workspace/activity_spec.rb +1 -1
  363. data/spec/integration/taskrouter/v1/workspace/worker_spec.rb +1 -1
  364. data/spec/integration/taskrouter/v1/workspace/workflow_spec.rb +1 -1
  365. data/spec/integration/taskrouter/v1/workspace_spec.rb +1 -1
  366. data/spec/integration/trunking/v1/trunk/credential_list_spec.rb +1 -1
  367. data/spec/integration/trunking/v1/trunk/ip_access_control_list_spec.rb +1 -1
  368. data/spec/integration/trunking/v1/trunk/phone_number_spec.rb +1 -1
  369. data/spec/integration/video/v1/room_spec.rb +1 -1
  370. data/spec/integration/wireless/v1/command_spec.rb +1 -1
  371. metadata +16 -3
@@ -61,7 +61,7 @@ module Twilio
61
61
  def stream(friendly_name: :unset, available: :unset, limit: nil, page_size: nil)
62
62
  limits = @version.read_limits(limit, page_size)
63
63
 
64
- page = self.page(friendly_name: friendly_name, available: available, page_size: limits[:page_size],)
64
+ page = self.page(friendly_name: friendly_name, available: available, page_size: limits[:page_size])
65
65
 
66
66
  @version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
67
67
  end
@@ -73,7 +73,7 @@ module Twilio
73
73
  def each
74
74
  limits = @version.read_limits
75
75
 
76
- page = self.page(page_size: limits[:page_size],)
76
+ page = self.page(page_size: limits[:page_size])
77
77
 
78
78
  @version.stream(page,
79
79
  limit: limits[:limit],
@@ -125,7 +125,7 @@ module Twilio
125
125
  # @param [Boolean] available The available
126
126
  # @return [ActivityInstance] Newly created ActivityInstance
127
127
  def create(friendly_name: nil, available: :unset)
128
- data = Twilio::Values.of({'FriendlyName' => friendly_name, 'Available' => available,})
128
+ data = Twilio::Values.of({'FriendlyName' => friendly_name, 'Available' => available})
129
129
 
130
130
  payload = @version.create(
131
131
  'POST',
@@ -133,7 +133,7 @@ module Twilio
133
133
  data: data
134
134
  )
135
135
 
136
- ActivityInstance.new(@version, payload, workspace_sid: @solution[:workspace_sid],)
136
+ ActivityInstance.new(@version, payload, workspace_sid: @solution[:workspace_sid])
137
137
  end
138
138
 
139
139
  ##
@@ -162,7 +162,7 @@ module Twilio
162
162
  # @param [Hash] payload Payload response from the API
163
163
  # @return [ActivityInstance] ActivityInstance
164
164
  def get_instance(payload)
165
- ActivityInstance.new(@version, payload, workspace_sid: @solution[:workspace_sid],)
165
+ ActivityInstance.new(@version, payload, workspace_sid: @solution[:workspace_sid])
166
166
  end
167
167
 
168
168
  ##
@@ -183,7 +183,7 @@ module Twilio
183
183
  super(version)
184
184
 
185
185
  # Path Solution
186
- @solution = {workspace_sid: workspace_sid, sid: sid,}
186
+ @solution = {workspace_sid: workspace_sid, sid: sid}
187
187
  @uri = "/Workspaces/#{@solution[:workspace_sid]}/Activities/#{@solution[:sid]}"
188
188
  end
189
189
 
@@ -199,7 +199,7 @@ module Twilio
199
199
  params,
200
200
  )
201
201
 
202
- ActivityInstance.new(@version, payload, workspace_sid: @solution[:workspace_sid], sid: @solution[:sid],)
202
+ ActivityInstance.new(@version, payload, workspace_sid: @solution[:workspace_sid], sid: @solution[:sid])
203
203
  end
204
204
 
205
205
  ##
@@ -207,7 +207,7 @@ module Twilio
207
207
  # @param [String] friendly_name The friendly_name
208
208
  # @return [ActivityInstance] Updated ActivityInstance
209
209
  def update(friendly_name: :unset)
210
- data = Twilio::Values.of({'FriendlyName' => friendly_name,})
210
+ data = Twilio::Values.of({'FriendlyName' => friendly_name})
211
211
 
212
212
  payload = @version.update(
213
213
  'POST',
@@ -215,7 +215,7 @@ module Twilio
215
215
  data: data,
216
216
  )
217
217
 
218
- ActivityInstance.new(@version, payload, workspace_sid: @solution[:workspace_sid], sid: @solution[:sid],)
218
+ ActivityInstance.new(@version, payload, workspace_sid: @solution[:workspace_sid], sid: @solution[:sid])
219
219
  end
220
220
 
221
221
  ##
@@ -258,7 +258,7 @@ module Twilio
258
258
 
259
259
  # Context
260
260
  @instance_context = nil
261
- @params = {'workspace_sid' => workspace_sid, 'sid' => sid || @properties['sid'],}
261
+ @params = {'workspace_sid' => workspace_sid, 'sid' => sid || @properties['sid']}
262
262
  end
263
263
 
264
264
  ##
@@ -267,7 +267,7 @@ module Twilio
267
267
  # @return [ActivityContext] ActivityContext for this ActivityInstance
268
268
  def context
269
269
  unless @instance_context
270
- @instance_context = ActivityContext.new(@version, @params['workspace_sid'], @params['sid'],)
270
+ @instance_context = ActivityContext.new(@version, @params['workspace_sid'], @params['sid'])
271
271
  end
272
272
  @instance_context
273
273
  end
@@ -332,7 +332,7 @@ module Twilio
332
332
  # @param [String] friendly_name The friendly_name
333
333
  # @return [ActivityInstance] Updated ActivityInstance
334
334
  def update(friendly_name: :unset)
335
- context.update(friendly_name: friendly_name,)
335
+ context.update(friendly_name: friendly_name)
336
336
  end
337
337
 
338
338
  ##
@@ -105,7 +105,7 @@ module Twilio
105
105
  def each
106
106
  limits = @version.read_limits
107
107
 
108
- page = self.page(page_size: limits[:page_size],)
108
+ page = self.page(page_size: limits[:page_size])
109
109
 
110
110
  @version.stream(page,
111
111
  limit: limits[:limit],
@@ -190,7 +190,7 @@ module Twilio
190
190
  # @param [Hash] payload Payload response from the API
191
191
  # @return [EventInstance] EventInstance
192
192
  def get_instance(payload)
193
- EventInstance.new(@version, payload, workspace_sid: @solution[:workspace_sid],)
193
+ EventInstance.new(@version, payload, workspace_sid: @solution[:workspace_sid])
194
194
  end
195
195
 
196
196
  ##
@@ -211,7 +211,7 @@ module Twilio
211
211
  super(version)
212
212
 
213
213
  # Path Solution
214
- @solution = {workspace_sid: workspace_sid, sid: sid,}
214
+ @solution = {workspace_sid: workspace_sid, sid: sid}
215
215
  @uri = "/Workspaces/#{@solution[:workspace_sid]}/Events/#{@solution[:sid]}"
216
216
  end
217
217
 
@@ -227,7 +227,7 @@ module Twilio
227
227
  params,
228
228
  )
229
229
 
230
- EventInstance.new(@version, payload, workspace_sid: @solution[:workspace_sid], sid: @solution[:sid],)
230
+ EventInstance.new(@version, payload, workspace_sid: @solution[:workspace_sid], sid: @solution[:sid])
231
231
  end
232
232
 
233
233
  ##
@@ -270,7 +270,7 @@ module Twilio
270
270
 
271
271
  # Context
272
272
  @instance_context = nil
273
- @params = {'workspace_sid' => workspace_sid, 'sid' => sid || @properties['sid'],}
273
+ @params = {'workspace_sid' => workspace_sid, 'sid' => sid || @properties['sid']}
274
274
  end
275
275
 
276
276
  ##
@@ -279,7 +279,7 @@ module Twilio
279
279
  # @return [EventContext] EventContext for this EventInstance
280
280
  def context
281
281
  unless @instance_context
282
- @instance_context = EventContext.new(@version, @params['workspace_sid'], @params['sid'],)
282
+ @instance_context = EventContext.new(@version, @params['workspace_sid'], @params['sid'])
283
283
  end
284
284
  @instance_context
285
285
  end
@@ -105,7 +105,7 @@ module Twilio
105
105
  def each
106
106
  limits = @version.read_limits
107
107
 
108
- page = self.page(page_size: limits[:page_size],)
108
+ page = self.page(page_size: limits[:page_size])
109
109
 
110
110
  @version.stream(page,
111
111
  limit: limits[:limit],
@@ -188,7 +188,7 @@ module Twilio
188
188
  data: data
189
189
  )
190
190
 
191
- TaskInstance.new(@version, payload, workspace_sid: @solution[:workspace_sid],)
191
+ TaskInstance.new(@version, payload, workspace_sid: @solution[:workspace_sid])
192
192
  end
193
193
 
194
194
  ##
@@ -217,7 +217,7 @@ module Twilio
217
217
  # @param [Hash] payload Payload response from the API
218
218
  # @return [TaskInstance] TaskInstance
219
219
  def get_instance(payload)
220
- TaskInstance.new(@version, payload, workspace_sid: @solution[:workspace_sid],)
220
+ TaskInstance.new(@version, payload, workspace_sid: @solution[:workspace_sid])
221
221
  end
222
222
 
223
223
  ##
@@ -238,7 +238,7 @@ module Twilio
238
238
  super(version)
239
239
 
240
240
  # Path Solution
241
- @solution = {workspace_sid: workspace_sid, sid: sid,}
241
+ @solution = {workspace_sid: workspace_sid, sid: sid}
242
242
  @uri = "/Workspaces/#{@solution[:workspace_sid]}/Tasks/#{@solution[:sid]}"
243
243
 
244
244
  # Dependents
@@ -257,7 +257,7 @@ module Twilio
257
257
  params,
258
258
  )
259
259
 
260
- TaskInstance.new(@version, payload, workspace_sid: @solution[:workspace_sid], sid: @solution[:sid],)
260
+ TaskInstance.new(@version, payload, workspace_sid: @solution[:workspace_sid], sid: @solution[:sid])
261
261
  end
262
262
 
263
263
  ##
@@ -283,7 +283,7 @@ module Twilio
283
283
  data: data,
284
284
  )
285
285
 
286
- TaskInstance.new(@version, payload, workspace_sid: @solution[:workspace_sid], sid: @solution[:sid],)
286
+ TaskInstance.new(@version, payload, workspace_sid: @solution[:workspace_sid], sid: @solution[:sid])
287
287
  end
288
288
 
289
289
  ##
@@ -301,7 +301,7 @@ module Twilio
301
301
  raise ArgumentError, 'sid cannot be nil' if sid.nil?
302
302
 
303
303
  if sid != :unset
304
- return ReservationContext.new(@version, @solution[:workspace_sid], @solution[:sid], sid,)
304
+ return ReservationContext.new(@version, @solution[:workspace_sid], @solution[:sid], sid)
305
305
  end
306
306
 
307
307
  unless @reservations
@@ -360,7 +360,7 @@ module Twilio
360
360
 
361
361
  # Context
362
362
  @instance_context = nil
363
- @params = {'workspace_sid' => workspace_sid, 'sid' => sid || @properties['sid'],}
363
+ @params = {'workspace_sid' => workspace_sid, 'sid' => sid || @properties['sid']}
364
364
  end
365
365
 
366
366
  ##
@@ -369,7 +369,7 @@ module Twilio
369
369
  # @return [TaskContext] TaskContext for this TaskInstance
370
370
  def context
371
371
  unless @instance_context
372
- @instance_context = TaskContext.new(@version, @params['workspace_sid'], @params['sid'],)
372
+ @instance_context = TaskContext.new(@version, @params['workspace_sid'], @params['sid'])
373
373
  end
374
374
  @instance_context
375
375
  end
@@ -56,7 +56,7 @@ module Twilio
56
56
  def stream(reservation_status: :unset, limit: nil, page_size: nil)
57
57
  limits = @version.read_limits(limit, page_size)
58
58
 
59
- page = self.page(reservation_status: reservation_status, page_size: limits[:page_size],)
59
+ page = self.page(reservation_status: reservation_status, page_size: limits[:page_size])
60
60
 
61
61
  @version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
62
62
  end
@@ -68,7 +68,7 @@ module Twilio
68
68
  def each
69
69
  limits = @version.read_limits
70
70
 
71
- page = self.page(page_size: limits[:page_size],)
71
+ page = self.page(page_size: limits[:page_size])
72
72
 
73
73
  @version.stream(page,
74
74
  limit: limits[:limit],
@@ -164,7 +164,7 @@ module Twilio
164
164
  super(version)
165
165
 
166
166
  # Path Solution
167
- @solution = {workspace_sid: workspace_sid, task_sid: task_sid, sid: sid,}
167
+ @solution = {workspace_sid: workspace_sid, task_sid: task_sid, sid: sid}
168
168
  @uri = "/Workspaces/#{@solution[:workspace_sid]}/Tasks/#{@solution[:task_sid]}/Reservations/#{@solution[:sid]}"
169
169
  end
170
170
 
@@ -52,7 +52,7 @@ module Twilio
52
52
  def stream(limit: nil, page_size: nil)
53
53
  limits = @version.read_limits(limit, page_size)
54
54
 
55
- page = self.page(page_size: limits[:page_size],)
55
+ page = self.page(page_size: limits[:page_size])
56
56
 
57
57
  @version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
58
58
  end
@@ -64,7 +64,7 @@ module Twilio
64
64
  def each
65
65
  limits = @version.read_limits
66
66
 
67
- page = self.page(page_size: limits[:page_size],)
67
+ page = self.page(page_size: limits[:page_size])
68
68
 
69
69
  @version.stream(page,
70
70
  limit: limits[:limit],
@@ -131,7 +131,7 @@ module Twilio
131
131
  # @param [Hash] payload Payload response from the API
132
132
  # @return [TaskChannelInstance] TaskChannelInstance
133
133
  def get_instance(payload)
134
- TaskChannelInstance.new(@version, payload, workspace_sid: @solution[:workspace_sid],)
134
+ TaskChannelInstance.new(@version, payload, workspace_sid: @solution[:workspace_sid])
135
135
  end
136
136
 
137
137
  ##
@@ -152,7 +152,7 @@ module Twilio
152
152
  super(version)
153
153
 
154
154
  # Path Solution
155
- @solution = {workspace_sid: workspace_sid, sid: sid,}
155
+ @solution = {workspace_sid: workspace_sid, sid: sid}
156
156
  @uri = "/Workspaces/#{@solution[:workspace_sid]}/TaskChannels/#{@solution[:sid]}"
157
157
  end
158
158
 
@@ -209,7 +209,7 @@ module Twilio
209
209
 
210
210
  # Context
211
211
  @instance_context = nil
212
- @params = {'workspace_sid' => workspace_sid, 'sid' => sid || @properties['sid'],}
212
+ @params = {'workspace_sid' => workspace_sid, 'sid' => sid || @properties['sid']}
213
213
  end
214
214
 
215
215
  ##
@@ -218,7 +218,7 @@ module Twilio
218
218
  # @return [TaskChannelContext] TaskChannelContext for this TaskChannelInstance
219
219
  def context
220
220
  unless @instance_context
221
- @instance_context = TaskChannelContext.new(@version, @params['workspace_sid'], @params['sid'],)
221
+ @instance_context = TaskChannelContext.new(@version, @params['workspace_sid'], @params['sid'])
222
222
  end
223
223
  @instance_context
224
224
  end
@@ -84,7 +84,7 @@ module Twilio
84
84
  def each
85
85
  limits = @version.read_limits
86
86
 
87
- page = self.page(page_size: limits[:page_size],)
87
+ page = self.page(page_size: limits[:page_size])
88
88
 
89
89
  @version.stream(page,
90
90
  limit: limits[:limit],
@@ -157,7 +157,7 @@ module Twilio
157
157
  data: data
158
158
  )
159
159
 
160
- TaskQueueInstance.new(@version, payload, workspace_sid: @solution[:workspace_sid],)
160
+ TaskQueueInstance.new(@version, payload, workspace_sid: @solution[:workspace_sid])
161
161
  end
162
162
 
163
163
  ##
@@ -165,7 +165,7 @@ module Twilio
165
165
  # @return [TaskQueuesStatisticsList]
166
166
  # @return [TaskQueuesStatisticsContext]
167
167
  def statistics
168
- @statistics ||= TaskQueuesStatisticsList.new(@version, workspace_sid: @solution[:workspace_sid],)
168
+ @statistics ||= TaskQueuesStatisticsList.new(@version, workspace_sid: @solution[:workspace_sid])
169
169
  end
170
170
 
171
171
  ##
@@ -194,7 +194,7 @@ module Twilio
194
194
  # @param [Hash] payload Payload response from the API
195
195
  # @return [TaskQueueInstance] TaskQueueInstance
196
196
  def get_instance(payload)
197
- TaskQueueInstance.new(@version, payload, workspace_sid: @solution[:workspace_sid],)
197
+ TaskQueueInstance.new(@version, payload, workspace_sid: @solution[:workspace_sid])
198
198
  end
199
199
 
200
200
  ##
@@ -215,7 +215,7 @@ module Twilio
215
215
  super(version)
216
216
 
217
217
  # Path Solution
218
- @solution = {workspace_sid: workspace_sid, sid: sid,}
218
+ @solution = {workspace_sid: workspace_sid, sid: sid}
219
219
  @uri = "/Workspaces/#{@solution[:workspace_sid]}/TaskQueues/#{@solution[:sid]}"
220
220
 
221
221
  # Dependents
@@ -289,7 +289,7 @@ module Twilio
289
289
  # @return [TaskQueueStatisticsList]
290
290
  # @return [TaskQueueStatisticsContext]
291
291
  def statistics
292
- TaskQueueStatisticsContext.new(@version, @solution[:workspace_sid], @solution[:sid],)
292
+ TaskQueueStatisticsContext.new(@version, @solution[:workspace_sid], @solution[:sid])
293
293
  end
294
294
 
295
295
  ##
@@ -297,7 +297,7 @@ module Twilio
297
297
  # @return [TaskQueueRealTimeStatisticsList]
298
298
  # @return [TaskQueueRealTimeStatisticsContext]
299
299
  def real_time_statistics
300
- TaskQueueRealTimeStatisticsContext.new(@version, @solution[:workspace_sid], @solution[:sid],)
300
+ TaskQueueRealTimeStatisticsContext.new(@version, @solution[:workspace_sid], @solution[:sid])
301
301
  end
302
302
 
303
303
  ##
@@ -305,7 +305,7 @@ module Twilio
305
305
  # @return [TaskQueueCumulativeStatisticsList]
306
306
  # @return [TaskQueueCumulativeStatisticsContext]
307
307
  def cumulative_statistics
308
- TaskQueueCumulativeStatisticsContext.new(@version, @solution[:workspace_sid], @solution[:sid],)
308
+ TaskQueueCumulativeStatisticsContext.new(@version, @solution[:workspace_sid], @solution[:sid])
309
309
  end
310
310
 
311
311
  ##
@@ -348,7 +348,7 @@ module Twilio
348
348
 
349
349
  # Context
350
350
  @instance_context = nil
351
- @params = {'workspace_sid' => workspace_sid, 'sid' => sid || @properties['sid'],}
351
+ @params = {'workspace_sid' => workspace_sid, 'sid' => sid || @properties['sid']}
352
352
  end
353
353
 
354
354
  ##
@@ -357,7 +357,7 @@ module Twilio
357
357
  # @return [TaskQueueContext] TaskQueueContext for this TaskQueueInstance
358
358
  def context
359
359
  unless @instance_context
360
- @instance_context = TaskQueueContext.new(@version, @params['workspace_sid'], @params['sid'],)
360
+ @instance_context = TaskQueueContext.new(@version, @params['workspace_sid'], @params['sid'])
361
361
  end
362
362
  @instance_context
363
363
  end
@@ -76,7 +76,7 @@ module Twilio
76
76
  super(version)
77
77
 
78
78
  # Path Solution
79
- @solution = {workspace_sid: workspace_sid, task_queue_sid: task_queue_sid,}
79
+ @solution = {workspace_sid: workspace_sid, task_queue_sid: task_queue_sid}
80
80
  @uri = "/Workspaces/#{@solution[:workspace_sid]}/TaskQueues/#{@solution[:task_queue_sid]}/CumulativeStatistics"
81
81
  end
82
82
 
@@ -157,7 +157,7 @@ module Twilio
157
157
 
158
158
  # Context
159
159
  @instance_context = nil
160
- @params = {'workspace_sid' => workspace_sid, 'task_queue_sid' => task_queue_sid,}
160
+ @params = {'workspace_sid' => workspace_sid, 'task_queue_sid' => task_queue_sid}
161
161
  end
162
162
 
163
163
  ##
@@ -76,7 +76,7 @@ module Twilio
76
76
  super(version)
77
77
 
78
78
  # Path Solution
79
- @solution = {workspace_sid: workspace_sid, task_queue_sid: task_queue_sid,}
79
+ @solution = {workspace_sid: workspace_sid, task_queue_sid: task_queue_sid}
80
80
  @uri = "/Workspaces/#{@solution[:workspace_sid]}/TaskQueues/#{@solution[:task_queue_sid]}/RealTimeStatistics"
81
81
  end
82
82
 
@@ -85,7 +85,7 @@ module Twilio
85
85
  # @param [String] task_channel The task_channel
86
86
  # @return [TaskQueueRealTimeStatisticsInstance] Fetched TaskQueueRealTimeStatisticsInstance
87
87
  def fetch(task_channel: :unset)
88
- params = Twilio::Values.of({'TaskChannel' => task_channel,})
88
+ params = Twilio::Values.of({'TaskChannel' => task_channel})
89
89
 
90
90
  payload = @version.fetch(
91
91
  'GET',
@@ -137,7 +137,7 @@ module Twilio
137
137
 
138
138
  # Context
139
139
  @instance_context = nil
140
- @params = {'workspace_sid' => workspace_sid, 'task_queue_sid' => task_queue_sid,}
140
+ @params = {'workspace_sid' => workspace_sid, 'task_queue_sid' => task_queue_sid}
141
141
  end
142
142
 
143
143
  ##
@@ -226,7 +226,7 @@ module Twilio
226
226
  # @param [String] task_channel The task_channel
227
227
  # @return [TaskQueueRealTimeStatisticsInstance] Fetched TaskQueueRealTimeStatisticsInstance
228
228
  def fetch(task_channel: :unset)
229
- context.fetch(task_channel: task_channel,)
229
+ context.fetch(task_channel: task_channel)
230
230
  end
231
231
 
232
232
  ##