twilio-ruby 5.0.0.rc12 → 5.0.0.rc13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/Rakefile +6 -0
  4. data/lib/twilio-ruby/jwt/access_token.rb +4 -4
  5. data/lib/twilio-ruby/rest/api/v2010/account.rb +5 -5
  6. data/lib/twilio-ruby/rest/api/v2010/account/address.rb +5 -5
  7. data/lib/twilio-ruby/rest/api/v2010/account/address/dependent_phone_number.rb +5 -5
  8. data/lib/twilio-ruby/rest/api/v2010/account/application.rb +5 -5
  9. data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +5 -5
  10. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number.rb +5 -5
  11. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/local.rb +5 -5
  12. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/mobile.rb +5 -5
  13. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/toll_free.rb +5 -5
  14. data/lib/twilio-ruby/rest/api/v2010/account/call.rb +5 -5
  15. data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +5 -5
  16. data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +5 -5
  17. data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +5 -5
  18. data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +5 -5
  19. data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +5 -5
  20. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +5 -5
  21. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +5 -5
  22. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +5 -5
  23. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +5 -5
  24. data/lib/twilio-ruby/rest/api/v2010/account/key.rb +5 -5
  25. data/lib/twilio-ruby/rest/api/v2010/account/message.rb +5 -5
  26. data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +5 -5
  27. data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +5 -5
  28. data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +5 -5
  29. data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +5 -5
  30. data/lib/twilio-ruby/rest/api/v2010/account/queue/member.rb +5 -5
  31. data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +5 -5
  32. data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +5 -5
  33. data/lib/twilio-ruby/rest/api/v2010/account/signing_key.rb +5 -5
  34. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +5 -5
  35. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +5 -5
  36. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +5 -5
  37. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +5 -5
  38. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +5 -5
  39. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +5 -5
  40. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +5 -5
  41. data/lib/twilio-ruby/rest/api/v2010/account/sms/short_code.rb +5 -5
  42. data/lib/twilio-ruby/rest/api/v2010/account/sms/sms_message.rb +5 -5
  43. data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +5 -5
  44. data/lib/twilio-ruby/rest/api/v2010/account/usage/record.rb +5 -5
  45. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/all_time.rb +5 -5
  46. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/daily.rb +5 -5
  47. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/last_month.rb +5 -5
  48. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/monthly.rb +5 -5
  49. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/this_month.rb +5 -5
  50. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/today.rb +5 -5
  51. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yearly.rb +5 -5
  52. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yesterday.rb +5 -5
  53. data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +5 -5
  54. data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +5 -5
  55. data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +5 -5
  56. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +5 -5
  57. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +5 -5
  58. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +5 -5
  59. data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +5 -5
  60. data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +5 -5
  61. data/lib/twilio-ruby/rest/monitor/v1/alert.rb +5 -5
  62. data/lib/twilio-ruby/rest/monitor/v1/event.rb +5 -5
  63. data/lib/twilio-ruby/rest/notifications/v1/credential.rb +5 -5
  64. data/lib/twilio-ruby/rest/notifications/v1/service.rb +5 -5
  65. data/lib/twilio-ruby/rest/notifications/v1/service/binding.rb +5 -5
  66. data/lib/twilio-ruby/rest/preview/wireless/command.rb +5 -5
  67. data/lib/twilio-ruby/rest/preview/wireless/device.rb +5 -5
  68. data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +5 -5
  69. data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +5 -5
  70. data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +5 -5
  71. data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +5 -5
  72. data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +5 -5
  73. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +5 -5
  74. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/event.rb +5 -5
  75. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +5 -5
  76. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +5 -5
  77. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +5 -5
  78. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queues_statistics.rb +5 -5
  79. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +5 -5
  80. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +5 -5
  81. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_statistics.rb +8 -24
  82. data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +5 -5
  83. data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +5 -5
  84. data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +5 -5
  85. data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +5 -5
  86. data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +5 -5
  87. data/lib/twilio-ruby/version.rb +1 -1
  88. data/spec/integration/taskrouter/v1/workspace/workflow_spec.rb +3 -3
  89. metadata +2 -2
@@ -66,10 +66,10 @@ module Twilio
66
66
  device: device,
67
67
  status: status,
68
68
  direction: direction,
69
- page_size: limits['page_size'],
69
+ page_size: limits[:page_size],
70
70
  )
71
71
 
72
- @version.stream(page, limit: limits['limit'], page_limit: limits['page_limit'])
72
+ @version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
73
73
  end
74
74
 
75
75
  ##
@@ -89,12 +89,12 @@ module Twilio
89
89
  limits = @version.read_limits
90
90
 
91
91
  page = self.page(
92
- page_size: limits['page_size'],
92
+ page_size: limits[:page_size],
93
93
  )
94
94
 
95
95
  @version.stream(page,
96
- limit: limits['limit'],
97
- page_limit: limits['page_limit']).each {|x| yield x}
96
+ limit: limits[:limit],
97
+ page_limit: limits[:page_limit]).each {|x| yield x}
98
98
  end
99
99
 
100
100
  ##
@@ -66,10 +66,10 @@ module Twilio
66
66
  status: status,
67
67
  sim_identifier: sim_identifier,
68
68
  rate_plan: rate_plan,
69
- page_size: limits['page_size'],
69
+ page_size: limits[:page_size],
70
70
  )
71
71
 
72
- @version.stream(page, limit: limits['limit'], page_limit: limits['page_limit'])
72
+ @version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
73
73
  end
74
74
 
75
75
  ##
@@ -89,12 +89,12 @@ module Twilio
89
89
  limits = @version.read_limits
90
90
 
91
91
  page = self.page(
92
- page_size: limits['page_size'],
92
+ page_size: limits[:page_size],
93
93
  )
94
94
 
95
95
  @version.stream(page,
96
- limit: limits['limit'],
97
- page_limit: limits['page_limit']).each {|x| yield x}
96
+ limit: limits[:limit],
97
+ page_limit: limits[:page_limit]).each {|x| yield x}
98
98
  end
99
99
 
100
100
  ##
@@ -54,10 +54,10 @@ module Twilio
54
54
  limits = @version.read_limits(limit, page_size)
55
55
 
56
56
  page = self.page(
57
- page_size: limits['page_size'],
57
+ page_size: limits[:page_size],
58
58
  )
59
59
 
60
- @version.stream(page, limit: limits['limit'], page_limit: limits['page_limit'])
60
+ @version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
61
61
  end
62
62
 
63
63
  ##
@@ -74,12 +74,12 @@ module Twilio
74
74
  limits = @version.read_limits
75
75
 
76
76
  page = self.page(
77
- page_size: limits['page_size'],
77
+ page_size: limits[:page_size],
78
78
  )
79
79
 
80
80
  @version.stream(page,
81
- limit: limits['limit'],
82
- page_limit: limits['page_limit']).each {|x| yield x}
81
+ limit: limits[:limit],
82
+ page_limit: limits[:page_limit]).each {|x| yield x}
83
83
  end
84
84
 
85
85
  ##
@@ -55,10 +55,10 @@ module Twilio
55
55
  limits = @version.read_limits(limit, page_size)
56
56
 
57
57
  page = self.page(
58
- page_size: limits['page_size'],
58
+ page_size: limits[:page_size],
59
59
  )
60
60
 
61
- @version.stream(page, limit: limits['limit'], page_limit: limits['page_limit'])
61
+ @version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
62
62
  end
63
63
 
64
64
  ##
@@ -75,12 +75,12 @@ module Twilio
75
75
  limits = @version.read_limits
76
76
 
77
77
  page = self.page(
78
- page_size: limits['page_size'],
78
+ page_size: limits[:page_size],
79
79
  )
80
80
 
81
81
  @version.stream(page,
82
- limit: limits['limit'],
83
- page_limit: limits['page_limit']).each {|x| yield x}
82
+ limit: limits[:limit],
83
+ page_limit: limits[:page_limit]).each {|x| yield x}
84
84
  end
85
85
 
86
86
  ##
@@ -55,10 +55,10 @@ module Twilio
55
55
  limits = @version.read_limits(limit, page_size)
56
56
 
57
57
  page = self.page(
58
- page_size: limits['page_size'],
58
+ page_size: limits[:page_size],
59
59
  )
60
60
 
61
- @version.stream(page, limit: limits['limit'], page_limit: limits['page_limit'])
61
+ @version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
62
62
  end
63
63
 
64
64
  ##
@@ -75,12 +75,12 @@ module Twilio
75
75
  limits = @version.read_limits
76
76
 
77
77
  page = self.page(
78
- page_size: limits['page_size'],
78
+ page_size: limits[:page_size],
79
79
  )
80
80
 
81
81
  @version.stream(page,
82
- limit: limits['limit'],
83
- page_limit: limits['page_limit']).each {|x| yield x}
82
+ limit: limits[:limit],
83
+ page_limit: limits[:page_limit]).each {|x| yield x}
84
84
  end
85
85
 
86
86
  ##
@@ -55,10 +55,10 @@ module Twilio
55
55
  limits = @version.read_limits(limit, page_size)
56
56
 
57
57
  page = self.page(
58
- page_size: limits['page_size'],
58
+ page_size: limits[:page_size],
59
59
  )
60
60
 
61
- @version.stream(page, limit: limits['limit'], page_limit: limits['page_limit'])
61
+ @version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
62
62
  end
63
63
 
64
64
  ##
@@ -75,12 +75,12 @@ module Twilio
75
75
  limits = @version.read_limits
76
76
 
77
77
  page = self.page(
78
- page_size: limits['page_size'],
78
+ page_size: limits[:page_size],
79
79
  )
80
80
 
81
81
  @version.stream(page,
82
- limit: limits['limit'],
83
- page_limit: limits['page_limit']).each {|x| yield x}
82
+ limit: limits[:limit],
83
+ page_limit: limits[:page_limit]).each {|x| yield x}
84
84
  end
85
85
 
86
86
  ##
@@ -58,10 +58,10 @@ module Twilio
58
58
 
59
59
  page = self.page(
60
60
  friendly_name: friendly_name,
61
- page_size: limits['page_size'],
61
+ page_size: limits[:page_size],
62
62
  )
63
63
 
64
- @version.stream(page, limit: limits['limit'], page_limit: limits['page_limit'])
64
+ @version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
65
65
  end
66
66
 
67
67
  ##
@@ -79,12 +79,12 @@ module Twilio
79
79
  limits = @version.read_limits
80
80
 
81
81
  page = self.page(
82
- page_size: limits['page_size'],
82
+ page_size: limits[:page_size],
83
83
  )
84
84
 
85
85
  @version.stream(page,
86
- limit: limits['limit'],
87
- page_limit: limits['page_limit']).each {|x| yield x}
86
+ limit: limits[:limit],
87
+ page_limit: limits[:page_limit]).each {|x| yield x}
88
88
  end
89
89
 
90
90
  ##
@@ -66,10 +66,10 @@ module Twilio
66
66
  page = self.page(
67
67
  friendly_name: friendly_name,
68
68
  available: available,
69
- page_size: limits['page_size'],
69
+ page_size: limits[:page_size],
70
70
  )
71
71
 
72
- @version.stream(page, limit: limits['limit'], page_limit: limits['page_limit'])
72
+ @version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
73
73
  end
74
74
 
75
75
  ##
@@ -88,12 +88,12 @@ module Twilio
88
88
  limits = @version.read_limits
89
89
 
90
90
  page = self.page(
91
- page_size: limits['page_size'],
91
+ page_size: limits[:page_size],
92
92
  )
93
93
 
94
94
  @version.stream(page,
95
- limit: limits['limit'],
96
- page_limit: limits['page_limit']).each {|x| yield x}
95
+ limit: limits[:limit],
96
+ page_limit: limits[:page_limit]).each {|x| yield x}
97
97
  end
98
98
 
99
99
  ##
@@ -94,10 +94,10 @@ module Twilio
94
94
  task_sid: task_sid,
95
95
  worker_sid: worker_sid,
96
96
  workflow_sid: workflow_sid,
97
- page_size: limits['page_size'],
97
+ page_size: limits[:page_size],
98
98
  )
99
99
 
100
- @version.stream(page, limit: limits['limit'], page_limit: limits['page_limit'])
100
+ @version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
101
101
  end
102
102
 
103
103
  ##
@@ -123,12 +123,12 @@ module Twilio
123
123
  limits = @version.read_limits
124
124
 
125
125
  page = self.page(
126
- page_size: limits['page_size'],
126
+ page_size: limits[:page_size],
127
127
  )
128
128
 
129
129
  @version.stream(page,
130
- limit: limits['limit'],
131
- page_limit: limits['page_limit']).each {|x| yield x}
130
+ limit: limits[:limit],
131
+ page_limit: limits[:page_limit]).each {|x| yield x}
132
132
  end
133
133
 
134
134
  ##
@@ -82,10 +82,10 @@ module Twilio
82
82
  workflow_name: workflow_name,
83
83
  task_queue_sid: task_queue_sid,
84
84
  task_queue_name: task_queue_name,
85
- page_size: limits['page_size'],
85
+ page_size: limits[:page_size],
86
86
  )
87
87
 
88
- @version.stream(page, limit: limits['limit'], page_limit: limits['page_limit'])
88
+ @version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
89
89
  end
90
90
 
91
91
  ##
@@ -108,12 +108,12 @@ module Twilio
108
108
  limits = @version.read_limits
109
109
 
110
110
  page = self.page(
111
- page_size: limits['page_size'],
111
+ page_size: limits[:page_size],
112
112
  )
113
113
 
114
114
  @version.stream(page,
115
- limit: limits['limit'],
116
- page_limit: limits['page_limit']).each {|x| yield x}
115
+ limit: limits[:limit],
116
+ page_limit: limits[:page_limit]).each {|x| yield x}
117
117
  end
118
118
 
119
119
  ##
@@ -73,10 +73,10 @@ module Twilio
73
73
  status: status,
74
74
  assignment_status: assignment_status,
75
75
  reservation_status: reservation_status,
76
- page_size: limits['page_size'],
76
+ page_size: limits[:page_size],
77
77
  )
78
78
 
79
- @version.stream(page, limit: limits['limit'], page_limit: limits['page_limit'])
79
+ @version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
80
80
  end
81
81
 
82
82
  ##
@@ -96,12 +96,12 @@ module Twilio
96
96
  limits = @version.read_limits
97
97
 
98
98
  page = self.page(
99
- page_size: limits['page_size'],
99
+ page_size: limits[:page_size],
100
100
  )
101
101
 
102
102
  @version.stream(page,
103
- limit: limits['limit'],
104
- page_limit: limits['page_limit']).each {|x| yield x}
103
+ limit: limits[:limit],
104
+ page_limit: limits[:page_limit]).each {|x| yield x}
105
105
  end
106
106
 
107
107
  ##
@@ -69,10 +69,10 @@ module Twilio
69
69
  page = self.page(
70
70
  friendly_name: friendly_name,
71
71
  evaluate_worker_attributes: evaluate_worker_attributes,
72
- page_size: limits['page_size'],
72
+ page_size: limits[:page_size],
73
73
  )
74
74
 
75
- @version.stream(page, limit: limits['limit'], page_limit: limits['page_limit'])
75
+ @version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
76
76
  end
77
77
 
78
78
  ##
@@ -91,12 +91,12 @@ module Twilio
91
91
  limits = @version.read_limits
92
92
 
93
93
  page = self.page(
94
- page_size: limits['page_size'],
94
+ page_size: limits[:page_size],
95
95
  )
96
96
 
97
97
  @version.stream(page,
98
- limit: limits['limit'],
99
- page_limit: limits['page_limit']).each {|x| yield x}
98
+ limit: limits[:limit],
99
+ page_limit: limits[:page_limit]).each {|x| yield x}
100
100
  end
101
101
 
102
102
  ##
@@ -75,10 +75,10 @@ module Twilio
75
75
  friendly_name: friendly_name,
76
76
  minutes: minutes,
77
77
  start_date: start_date,
78
- page_size: limits['page_size'],
78
+ page_size: limits[:page_size],
79
79
  )
80
80
 
81
- @version.stream(page, limit: limits['limit'], page_limit: limits['page_limit'])
81
+ @version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
82
82
  end
83
83
 
84
84
  ##
@@ -99,12 +99,12 @@ module Twilio
99
99
  limits = @version.read_limits
100
100
 
101
101
  page = self.page(
102
- page_size: limits['page_size'],
102
+ page_size: limits[:page_size],
103
103
  )
104
104
 
105
105
  @version.stream(page,
106
- limit: limits['limit'],
107
- page_limit: limits['page_limit']).each {|x| yield x}
106
+ limit: limits[:limit],
107
+ page_limit: limits[:page_limit]).each {|x| yield x}
108
108
  end
109
109
 
110
110
  ##
@@ -89,10 +89,10 @@ module Twilio
89
89
  target_workers_expression: target_workers_expression,
90
90
  task_queue_name: task_queue_name,
91
91
  task_queue_sid: task_queue_sid,
92
- page_size: limits['page_size'],
92
+ page_size: limits[:page_size],
93
93
  )
94
94
 
95
- @version.stream(page, limit: limits['limit'], page_limit: limits['page_limit'])
95
+ @version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
96
96
  end
97
97
 
98
98
  ##
@@ -116,12 +116,12 @@ module Twilio
116
116
  limits = @version.read_limits
117
117
 
118
118
  page = self.page(
119
- page_size: limits['page_size'],
119
+ page_size: limits[:page_size],
120
120
  )
121
121
 
122
122
  @version.stream(page,
123
- limit: limits['limit'],
124
- page_limit: limits['page_limit']).each {|x| yield x}
123
+ limit: limits[:limit],
124
+ page_limit: limits[:page_limit]).each {|x| yield x}
125
125
  end
126
126
 
127
127
  ##
@@ -62,10 +62,10 @@ module Twilio
62
62
 
63
63
  page = self.page(
64
64
  friendly_name: friendly_name,
65
- page_size: limits['page_size'],
65
+ page_size: limits[:page_size],
66
66
  )
67
67
 
68
- @version.stream(page, limit: limits['limit'], page_limit: limits['page_limit'])
68
+ @version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
69
69
  end
70
70
 
71
71
  ##
@@ -83,12 +83,12 @@ module Twilio
83
83
  limits = @version.read_limits
84
84
 
85
85
  page = self.page(
86
- page_size: limits['page_size'],
86
+ page_size: limits[:page_size],
87
87
  )
88
88
 
89
89
  @version.stream(page,
90
- limit: limits['limit'],
91
- page_limit: limits['page_limit']).each {|x| yield x}
90
+ limit: limits[:limit],
91
+ page_limit: limits[:page_limit]).each {|x| yield x}
92
92
  end
93
93
 
94
94
  ##
@@ -84,22 +84,14 @@ module Twilio
84
84
  ##
85
85
  # Fetch a WorkspaceStatisticsInstance
86
86
  # @param [String] minutes The minutes
87
- # @param [Time] start_date_before The start_date
88
- # @param [Time] start_date The start_date
89
- # @param [Time] start_date_after: The start_date
90
- # @param [Time] end_date_before The end_date
91
- # @param [Time] end_date The end_date
92
- # @param [Time] end_date_after: The end_date
87
+ # @param [String] start_date The start_date
88
+ # @param [String] end_date The end_date
93
89
  # @return [WorkspaceStatisticsInstance] Fetched WorkspaceStatisticsInstance
94
- def fetch(minutes: nil, start_date_before: nil, start_date: nil, start_date_after: nil, end_date_before: nil, end_date: nil, end_date_after: nil)
90
+ def fetch(minutes: nil, start_date: nil, end_date: nil)
95
91
  params = {
96
92
  'Minutes' => minutes,
97
- 'StartDate<' => Twilio.serialize_iso8601(start_date_before),
98
- 'StartDate' => Twilio.serialize_iso8601(start_date),
99
- 'StartDate>' => Twilio.serialize_iso8601(start_date_after),
100
- 'EndDate<' => Twilio.serialize_iso8601(end_date_before),
101
- 'EndDate' => Twilio.serialize_iso8601(end_date),
102
- 'EndDate>' => Twilio.serialize_iso8601(end_date_after),
93
+ 'StartDate' => start_date,
94
+ 'EndDate' => end_date,
103
95
  }
104
96
 
105
97
  payload = @version.fetch(
@@ -182,22 +174,14 @@ module Twilio
182
174
  ##
183
175
  # Fetch a WorkspaceStatisticsInstance
184
176
  # @param [String] minutes The minutes
185
- # @param [Time] start_date_before The start_date
186
- # @param [Time] start_date The start_date
187
- # @param [Time] start_date_after: The start_date
188
- # @param [Time] end_date_before The end_date
189
- # @param [Time] end_date The end_date
190
- # @param [Time] end_date_after: The end_date
177
+ # @param [String] start_date The start_date
178
+ # @param [String] end_date The end_date
191
179
  # @return [WorkspaceStatisticsInstance] Fetched WorkspaceStatisticsInstance
192
- def fetch(minutes: nil, start_date_before: nil, start_date: nil, start_date_after: nil, end_date_before: nil, end_date: nil, end_date_after: nil)
180
+ def fetch(minutes: nil, start_date: nil, end_date: nil)
193
181
  context.fetch(
194
182
  minutes: minutes,
195
- start_date_before: start_date_before,
196
183
  start_date: start_date,
197
- start_date_after: start_date_after,
198
- end_date_before: end_date_before,
199
184
  end_date: end_date,
200
- end_date_after: end_date_after,
201
185
  )
202
186
  end
203
187