twilio-ruby 5.0.0.rc4 → 5.0.0.rc5
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/CHANGES.md +8 -1
- data/Makefile +3 -0
- data/lib/twilio-ruby.rb +0 -1
- data/lib/twilio-ruby/framework/version.rb +4 -4
- data/lib/twilio-ruby/rest/api/v2010/account.rb +0 -13
- data/lib/twilio-ruby/rest/api/v2010/account/address.rb +0 -13
- data/lib/twilio-ruby/rest/api/v2010/account/application.rb +0 -14
- data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +0 -13
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number.rb +0 -13
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +0 -13
- data/lib/twilio-ruby/rest/api/v2010/account/call/feedback.rb +0 -11
- data/lib/twilio-ruby/rest/api/v2010/account/call/feedback_summary.rb +0 -13
- data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +0 -14
- data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +0 -14
- data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +0 -13
- data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +0 -14
- data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +0 -13
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +0 -14
- data/lib/twilio-ruby/rest/api/v2010/account/message.rb +0 -13
- data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +0 -14
- data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +0 -13
- data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +0 -14
- data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +0 -13
- data/lib/twilio-ruby/rest/api/v2010/account/queue/member.rb +0 -14
- data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +0 -13
- data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +0 -14
- data/lib/twilio-ruby/rest/api/v2010/account/sandbox.rb +0 -10
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +0 -13
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +0 -14
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +0 -13
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +0 -14
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +0 -14
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +0 -14
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +0 -14
- data/lib/twilio-ruby/rest/api/v2010/account/sms/short_code.rb +0 -13
- data/lib/twilio-ruby/rest/api/v2010/account/sms/sms_message.rb +0 -13
- data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +0 -13
- data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +0 -13
- data/lib/twilio-ruby/rest/client.rb +7 -7
- data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +0 -12
- data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +0 -12
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +0 -13
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +0 -14
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +0 -14
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +0 -13
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +0 -18
- data/lib/twilio-ruby/rest/lookups/v1/phone_number.rb +0 -12
- data/lib/twilio-ruby/rest/monitor/v1/alert.rb +0 -12
- data/lib/twilio-ruby/rest/monitor/v1/event.rb +0 -12
- data/lib/twilio-ruby/rest/notifications.rb +4 -0
- data/lib/twilio-ruby/rest/notifications/v1.rb +9 -0
- data/lib/twilio-ruby/rest/notifications/v1/credential.rb +390 -0
- data/lib/twilio-ruby/rest/notifications/v1/service.rb +0 -12
- data/lib/twilio-ruby/rest/notifications/v1/service/binding.rb +0 -13
- data/lib/twilio-ruby/rest/preview.rb +47 -0
- data/lib/twilio-ruby/rest/preview/wireless.rb +53 -0
- data/lib/twilio-ruby/rest/preview/wireless/command.rb +345 -0
- data/lib/twilio-ruby/rest/preview/wireless/device.rb +456 -0
- data/lib/twilio-ruby/rest/preview/wireless/device/usage.rb +227 -0
- data/lib/twilio-ruby/rest/preview/wireless/rate_plan.rb +325 -0
- data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +0 -12
- data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +0 -12
- data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +0 -12
- data/lib/twilio-ruby/rest/pricing/v1/voice/number.rb +0 -12
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +0 -12
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +0 -13
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/event.rb +0 -13
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +0 -13
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +0 -14
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +0 -13
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_statistics.rb +0 -11
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +0 -13
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb +0 -11
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_statistics.rb +0 -10
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +0 -13
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_statistics.rb +0 -11
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_statistics.rb +0 -10
- data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +0 -12
- data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +0 -13
- data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +0 -13
- data/lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb +0 -13
- data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +0 -13
- data/lib/twilio-ruby/version.rb +1 -1
- data/spec/integration/api/v2010/account/usage/trigger_spec.rb +3 -3
- data/spec/integration/ip_messaging/v1/credential_spec.rb +1 -1
- data/spec/integration/ip_messaging/v1/service/role_spec.rb +1 -1
- data/spec/integration/notifications/v1/credential_spec.rb +228 -0
- data/spec/integration/notifications/v1/service/binding_spec.rb +2 -2
- data/spec/integration/preview/wireless/command_spec.rb +58 -0
- data/spec/integration/preview/wireless/device/usage_spec.rb +25 -0
- data/spec/integration/preview/wireless/device_spec.rb +72 -0
- data/spec/integration/preview/wireless/rate_plan_spec.rb +39 -0
- metadata +19 -16
- data/lib/twilio-ruby/rest/conversations.rb +0 -40
- data/lib/twilio-ruby/rest/conversations/v1.rb +0 -35
- data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +0 -270
- data/lib/twilio-ruby/rest/conversations/v1/conversation/completed.rb +0 -217
- data/lib/twilio-ruby/rest/conversations/v1/conversation/in_progress.rb +0 -217
- data/lib/twilio-ruby/rest/conversations/v1/conversation/participant.rb +0 -352
- data/spec/integration/conversations/v1/conversation/completed_spec.rb +0 -89
- data/spec/integration/conversations/v1/conversation/in_progress_spec.rb +0 -89
- data/spec/integration/conversations/v1/conversation/participant_spec.rb +0 -174
- data/spec/integration/conversations/v1/conversation_spec.rb +0 -49
|
@@ -108,18 +108,6 @@ module Twilio
|
|
|
108
108
|
return CountryPage.new(@version, response, @solution)
|
|
109
109
|
end
|
|
110
110
|
|
|
111
|
-
##
|
|
112
|
-
# Constructs a CountryContext
|
|
113
|
-
# @param [String] iso_country The iso_country
|
|
114
|
-
|
|
115
|
-
# @return [CountryContext] CountryContext
|
|
116
|
-
def get(iso_country)
|
|
117
|
-
CountryContext.new(
|
|
118
|
-
@version,
|
|
119
|
-
iso_country: iso_country,
|
|
120
|
-
)
|
|
121
|
-
end
|
|
122
|
-
|
|
123
111
|
##
|
|
124
112
|
# Provide a user friendly representation
|
|
125
113
|
def to_s
|
|
@@ -108,18 +108,6 @@ module Twilio
|
|
|
108
108
|
return CountryPage.new(@version, response, @solution)
|
|
109
109
|
end
|
|
110
110
|
|
|
111
|
-
##
|
|
112
|
-
# Constructs a CountryContext
|
|
113
|
-
# @param [String] iso_country The iso_country
|
|
114
|
-
|
|
115
|
-
# @return [CountryContext] CountryContext
|
|
116
|
-
def get(iso_country)
|
|
117
|
-
CountryContext.new(
|
|
118
|
-
@version,
|
|
119
|
-
iso_country: iso_country,
|
|
120
|
-
)
|
|
121
|
-
end
|
|
122
|
-
|
|
123
111
|
##
|
|
124
112
|
# Provide a user friendly representation
|
|
125
113
|
def to_s
|
|
@@ -108,18 +108,6 @@ module Twilio
|
|
|
108
108
|
return CountryPage.new(@version, response, @solution)
|
|
109
109
|
end
|
|
110
110
|
|
|
111
|
-
##
|
|
112
|
-
# Constructs a CountryContext
|
|
113
|
-
# @param [String] iso_country The iso_country
|
|
114
|
-
|
|
115
|
-
# @return [CountryContext] CountryContext
|
|
116
|
-
def get(iso_country)
|
|
117
|
-
CountryContext.new(
|
|
118
|
-
@version,
|
|
119
|
-
iso_country: iso_country,
|
|
120
|
-
)
|
|
121
|
-
end
|
|
122
|
-
|
|
123
111
|
##
|
|
124
112
|
# Provide a user friendly representation
|
|
125
113
|
def to_s
|
|
@@ -22,18 +22,6 @@ module Twilio
|
|
|
22
22
|
@solution = {}
|
|
23
23
|
end
|
|
24
24
|
|
|
25
|
-
##
|
|
26
|
-
# Constructs a NumberContext
|
|
27
|
-
# @param [String] number The number
|
|
28
|
-
|
|
29
|
-
# @return [NumberContext] NumberContext
|
|
30
|
-
def get(number)
|
|
31
|
-
NumberContext.new(
|
|
32
|
-
@version,
|
|
33
|
-
number: number,
|
|
34
|
-
)
|
|
35
|
-
end
|
|
36
|
-
|
|
37
25
|
##
|
|
38
26
|
# Provide a user friendly representation
|
|
39
27
|
def to_s
|
|
@@ -141,18 +141,6 @@ module Twilio
|
|
|
141
141
|
)
|
|
142
142
|
end
|
|
143
143
|
|
|
144
|
-
##
|
|
145
|
-
# Constructs a WorkspaceContext
|
|
146
|
-
# @param [String] sid The sid
|
|
147
|
-
|
|
148
|
-
# @return [WorkspaceContext] WorkspaceContext
|
|
149
|
-
def get(sid)
|
|
150
|
-
WorkspaceContext.new(
|
|
151
|
-
@version,
|
|
152
|
-
sid: sid,
|
|
153
|
-
)
|
|
154
|
-
end
|
|
155
|
-
|
|
156
144
|
##
|
|
157
145
|
# Provide a user friendly representation
|
|
158
146
|
def to_s
|
|
@@ -151,19 +151,6 @@ module Twilio
|
|
|
151
151
|
)
|
|
152
152
|
end
|
|
153
153
|
|
|
154
|
-
##
|
|
155
|
-
# Constructs a ActivityContext
|
|
156
|
-
# @param [String] sid The sid
|
|
157
|
-
|
|
158
|
-
# @return [ActivityContext] ActivityContext
|
|
159
|
-
def get(sid)
|
|
160
|
-
ActivityContext.new(
|
|
161
|
-
@version,
|
|
162
|
-
workspace_sid: @solution[:workspace_sid],
|
|
163
|
-
sid: sid,
|
|
164
|
-
)
|
|
165
|
-
end
|
|
166
|
-
|
|
167
154
|
##
|
|
168
155
|
# Provide a user friendly representation
|
|
169
156
|
def to_s
|
|
@@ -174,19 +174,6 @@ module Twilio
|
|
|
174
174
|
return EventPage.new(@version, response, @solution)
|
|
175
175
|
end
|
|
176
176
|
|
|
177
|
-
##
|
|
178
|
-
# Constructs a EventContext
|
|
179
|
-
# @param [String] sid The sid
|
|
180
|
-
|
|
181
|
-
# @return [EventContext] EventContext
|
|
182
|
-
def get(sid)
|
|
183
|
-
EventContext.new(
|
|
184
|
-
@version,
|
|
185
|
-
workspace_sid: @solution[:workspace_sid],
|
|
186
|
-
sid: sid,
|
|
187
|
-
)
|
|
188
|
-
end
|
|
189
|
-
|
|
190
177
|
##
|
|
191
178
|
# Provide a user friendly representation
|
|
192
179
|
def to_s
|
|
@@ -183,19 +183,6 @@ module Twilio
|
|
|
183
183
|
)
|
|
184
184
|
end
|
|
185
185
|
|
|
186
|
-
##
|
|
187
|
-
# Constructs a TaskContext
|
|
188
|
-
# @param [String] sid The sid
|
|
189
|
-
|
|
190
|
-
# @return [TaskContext] TaskContext
|
|
191
|
-
def get(sid)
|
|
192
|
-
TaskContext.new(
|
|
193
|
-
@version,
|
|
194
|
-
workspace_sid: @solution[:workspace_sid],
|
|
195
|
-
sid: sid,
|
|
196
|
-
)
|
|
197
|
-
end
|
|
198
|
-
|
|
199
186
|
##
|
|
200
187
|
# Provide a user friendly representation
|
|
201
188
|
def to_s
|
|
@@ -135,20 +135,6 @@ module Twilio
|
|
|
135
135
|
return ReservationPage.new(@version, response, @solution)
|
|
136
136
|
end
|
|
137
137
|
|
|
138
|
-
##
|
|
139
|
-
# Constructs a ReservationContext
|
|
140
|
-
# @param [String] sid The sid
|
|
141
|
-
|
|
142
|
-
# @return [ReservationContext] ReservationContext
|
|
143
|
-
def get(sid)
|
|
144
|
-
ReservationContext.new(
|
|
145
|
-
@version,
|
|
146
|
-
workspace_sid: @solution[:workspace_sid],
|
|
147
|
-
task_sid: @solution[:task_sid],
|
|
148
|
-
sid: sid,
|
|
149
|
-
)
|
|
150
|
-
end
|
|
151
|
-
|
|
152
138
|
##
|
|
153
139
|
# Provide a user friendly representation
|
|
154
140
|
def to_s
|
|
@@ -170,19 +170,6 @@ module Twilio
|
|
|
170
170
|
)
|
|
171
171
|
end
|
|
172
172
|
|
|
173
|
-
##
|
|
174
|
-
# Constructs a TaskQueueContext
|
|
175
|
-
# @param [String] sid The sid
|
|
176
|
-
|
|
177
|
-
# @return [TaskQueueContext] TaskQueueContext
|
|
178
|
-
def get(sid)
|
|
179
|
-
TaskQueueContext.new(
|
|
180
|
-
@version,
|
|
181
|
-
workspace_sid: @solution[:workspace_sid],
|
|
182
|
-
sid: sid,
|
|
183
|
-
)
|
|
184
|
-
end
|
|
185
|
-
|
|
186
173
|
##
|
|
187
174
|
# Provide a user friendly representation
|
|
188
175
|
def to_s
|
|
@@ -28,17 +28,6 @@ module Twilio
|
|
|
28
28
|
}
|
|
29
29
|
end
|
|
30
30
|
|
|
31
|
-
##
|
|
32
|
-
# Constructs a TaskQueueStatisticsContext
|
|
33
|
-
# @return [TaskQueueStatisticsContext] TaskQueueStatisticsContext
|
|
34
|
-
def get
|
|
35
|
-
TaskQueueStatisticsContext.new(
|
|
36
|
-
@version,
|
|
37
|
-
workspace_sid: @solution[:workspace_sid],
|
|
38
|
-
task_queue_sid: @solution[:task_queue_sid],
|
|
39
|
-
)
|
|
40
|
-
end
|
|
41
|
-
|
|
42
31
|
##
|
|
43
32
|
# Provide a user friendly representation
|
|
44
33
|
def to_s
|
|
@@ -206,19 +206,6 @@ module Twilio
|
|
|
206
206
|
)
|
|
207
207
|
end
|
|
208
208
|
|
|
209
|
-
##
|
|
210
|
-
# Constructs a WorkerContext
|
|
211
|
-
# @param [String] sid The sid
|
|
212
|
-
|
|
213
|
-
# @return [WorkerContext] WorkerContext
|
|
214
|
-
def get(sid)
|
|
215
|
-
WorkerContext.new(
|
|
216
|
-
@version,
|
|
217
|
-
workspace_sid: @solution[:workspace_sid],
|
|
218
|
-
sid: sid,
|
|
219
|
-
)
|
|
220
|
-
end
|
|
221
|
-
|
|
222
209
|
##
|
|
223
210
|
# Provide a user friendly representation
|
|
224
211
|
def to_s
|
|
@@ -28,17 +28,6 @@ module Twilio
|
|
|
28
28
|
}
|
|
29
29
|
end
|
|
30
30
|
|
|
31
|
-
##
|
|
32
|
-
# Constructs a WorkerStatisticsContext
|
|
33
|
-
# @return [WorkerStatisticsContext] WorkerStatisticsContext
|
|
34
|
-
def get
|
|
35
|
-
WorkerStatisticsContext.new(
|
|
36
|
-
@version,
|
|
37
|
-
workspace_sid: @solution[:workspace_sid],
|
|
38
|
-
worker_sid: @solution[:worker_sid],
|
|
39
|
-
)
|
|
40
|
-
end
|
|
41
|
-
|
|
42
31
|
##
|
|
43
32
|
# Provide a user friendly representation
|
|
44
33
|
def to_s
|
|
@@ -26,16 +26,6 @@ module Twilio
|
|
|
26
26
|
}
|
|
27
27
|
end
|
|
28
28
|
|
|
29
|
-
##
|
|
30
|
-
# Constructs a WorkersStatisticsContext
|
|
31
|
-
# @return [WorkersStatisticsContext] WorkersStatisticsContext
|
|
32
|
-
def get
|
|
33
|
-
WorkersStatisticsContext.new(
|
|
34
|
-
@version,
|
|
35
|
-
workspace_sid: @solution[:workspace_sid],
|
|
36
|
-
)
|
|
37
|
-
end
|
|
38
|
-
|
|
39
29
|
##
|
|
40
30
|
# Provide a user friendly representation
|
|
41
31
|
def to_s
|
|
@@ -151,19 +151,6 @@ module Twilio
|
|
|
151
151
|
)
|
|
152
152
|
end
|
|
153
153
|
|
|
154
|
-
##
|
|
155
|
-
# Constructs a WorkflowContext
|
|
156
|
-
# @param [String] sid The sid
|
|
157
|
-
|
|
158
|
-
# @return [WorkflowContext] WorkflowContext
|
|
159
|
-
def get(sid)
|
|
160
|
-
WorkflowContext.new(
|
|
161
|
-
@version,
|
|
162
|
-
workspace_sid: @solution[:workspace_sid],
|
|
163
|
-
sid: sid,
|
|
164
|
-
)
|
|
165
|
-
end
|
|
166
|
-
|
|
167
154
|
##
|
|
168
155
|
# Provide a user friendly representation
|
|
169
156
|
def to_s
|
|
@@ -28,17 +28,6 @@ module Twilio
|
|
|
28
28
|
}
|
|
29
29
|
end
|
|
30
30
|
|
|
31
|
-
##
|
|
32
|
-
# Constructs a WorkflowStatisticsContext
|
|
33
|
-
# @return [WorkflowStatisticsContext] WorkflowStatisticsContext
|
|
34
|
-
def get
|
|
35
|
-
WorkflowStatisticsContext.new(
|
|
36
|
-
@version,
|
|
37
|
-
workspace_sid: @solution[:workspace_sid],
|
|
38
|
-
workflow_sid: @solution[:workflow_sid],
|
|
39
|
-
)
|
|
40
|
-
end
|
|
41
|
-
|
|
42
31
|
##
|
|
43
32
|
# Provide a user friendly representation
|
|
44
33
|
def to_s
|
|
@@ -25,16 +25,6 @@ module Twilio
|
|
|
25
25
|
}
|
|
26
26
|
end
|
|
27
27
|
|
|
28
|
-
##
|
|
29
|
-
# Constructs a WorkspaceStatisticsContext
|
|
30
|
-
# @return [WorkspaceStatisticsContext] WorkspaceStatisticsContext
|
|
31
|
-
def get
|
|
32
|
-
WorkspaceStatisticsContext.new(
|
|
33
|
-
@version,
|
|
34
|
-
workspace_sid: @solution[:workspace_sid],
|
|
35
|
-
)
|
|
36
|
-
end
|
|
37
|
-
|
|
38
28
|
##
|
|
39
29
|
# Provide a user friendly representation
|
|
40
30
|
def to_s
|
|
@@ -140,18 +140,6 @@ module Twilio
|
|
|
140
140
|
return TrunkPage.new(@version, response, @solution)
|
|
141
141
|
end
|
|
142
142
|
|
|
143
|
-
##
|
|
144
|
-
# Constructs a TrunkContext
|
|
145
|
-
# @param [String] sid The sid
|
|
146
|
-
|
|
147
|
-
# @return [TrunkContext] TrunkContext
|
|
148
|
-
def get(sid)
|
|
149
|
-
TrunkContext.new(
|
|
150
|
-
@version,
|
|
151
|
-
sid: sid,
|
|
152
|
-
)
|
|
153
|
-
end
|
|
154
|
-
|
|
155
143
|
##
|
|
156
144
|
# Provide a user friendly representation
|
|
157
145
|
def to_s
|
|
@@ -135,19 +135,6 @@ module Twilio
|
|
|
135
135
|
return CredentialListPage.new(@version, response, @solution)
|
|
136
136
|
end
|
|
137
137
|
|
|
138
|
-
##
|
|
139
|
-
# Constructs a CredentialListContext
|
|
140
|
-
# @param [String] sid The sid
|
|
141
|
-
|
|
142
|
-
# @return [CredentialListContext] CredentialListContext
|
|
143
|
-
def get(sid)
|
|
144
|
-
CredentialListContext.new(
|
|
145
|
-
@version,
|
|
146
|
-
trunk_sid: @solution[:trunk_sid],
|
|
147
|
-
sid: sid,
|
|
148
|
-
)
|
|
149
|
-
end
|
|
150
|
-
|
|
151
138
|
##
|
|
152
139
|
# Provide a user friendly representation
|
|
153
140
|
def to_s
|
|
@@ -135,19 +135,6 @@ module Twilio
|
|
|
135
135
|
return IpAccessControlListPage.new(@version, response, @solution)
|
|
136
136
|
end
|
|
137
137
|
|
|
138
|
-
##
|
|
139
|
-
# Constructs a IpAccessControlListContext
|
|
140
|
-
# @param [String] sid The sid
|
|
141
|
-
|
|
142
|
-
# @return [IpAccessControlListContext] IpAccessControlListContext
|
|
143
|
-
def get(sid)
|
|
144
|
-
IpAccessControlListContext.new(
|
|
145
|
-
@version,
|
|
146
|
-
trunk_sid: @solution[:trunk_sid],
|
|
147
|
-
sid: sid,
|
|
148
|
-
)
|
|
149
|
-
end
|
|
150
|
-
|
|
151
138
|
##
|
|
152
139
|
# Provide a user friendly representation
|
|
153
140
|
def to_s
|
|
@@ -143,19 +143,6 @@ module Twilio
|
|
|
143
143
|
return OriginationUrlPage.new(@version, response, @solution)
|
|
144
144
|
end
|
|
145
145
|
|
|
146
|
-
##
|
|
147
|
-
# Constructs a OriginationUrlContext
|
|
148
|
-
# @param [String] sid The sid
|
|
149
|
-
|
|
150
|
-
# @return [OriginationUrlContext] OriginationUrlContext
|
|
151
|
-
def get(sid)
|
|
152
|
-
OriginationUrlContext.new(
|
|
153
|
-
@version,
|
|
154
|
-
trunk_sid: @solution[:trunk_sid],
|
|
155
|
-
sid: sid,
|
|
156
|
-
)
|
|
157
|
-
end
|
|
158
|
-
|
|
159
146
|
##
|
|
160
147
|
# Provide a user friendly representation
|
|
161
148
|
def to_s
|
|
@@ -135,19 +135,6 @@ module Twilio
|
|
|
135
135
|
return PhoneNumberPage.new(@version, response, @solution)
|
|
136
136
|
end
|
|
137
137
|
|
|
138
|
-
##
|
|
139
|
-
# Constructs a PhoneNumberContext
|
|
140
|
-
# @param [String] sid The sid
|
|
141
|
-
|
|
142
|
-
# @return [PhoneNumberContext] PhoneNumberContext
|
|
143
|
-
def get(sid)
|
|
144
|
-
PhoneNumberContext.new(
|
|
145
|
-
@version,
|
|
146
|
-
trunk_sid: @solution[:trunk_sid],
|
|
147
|
-
sid: sid,
|
|
148
|
-
)
|
|
149
|
-
end
|
|
150
|
-
|
|
151
138
|
##
|
|
152
139
|
# Provide a user friendly representation
|
|
153
140
|
def to_s
|