Skip to content

Commit 09f41ae

Browse files
chore: remove media endpoint (#715)
1 parent b27c6a6 commit 09f41ae

File tree

8 files changed

+7
-1656
lines changed

8 files changed

+7
-1656
lines changed

lib/twilio-ruby/rest/client.rb

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,6 @@ def lookups
8282
@lookups ||= Lookups.new self
8383
end
8484
##
85-
# Access the Media Twilio Domain
86-
def media
87-
@media ||= Media.new self
88-
end
8985
##
9086
# Access the Messaging Twilio Domain
9187
def messaging
@@ -219,7 +215,7 @@ def authorized_connect_apps(connectAppSid=:unset)
219215
def available_phone_numbers(countryCode=:unset)
220216
self.api.v2010.account.available_phone_numbers(countryCode)
221217
end
222-
218+
223219
##
224220
# @param [string] sid The SID of the Call resource to fetch.
225221

@@ -268,8 +264,8 @@ def keys(sid=:unset)
268264
def messages(sid=:unset)
269265
self.api.v2010.account.messages(sid)
270266
end
271-
272-
267+
268+
273269
##
274270
# @param [string] sid The Twilio-provided string that uniquely identifies the Notification resource to fetch.
275271

@@ -317,8 +313,8 @@ def short_codes(sid=:unset)
317313
def signing_keys(sid=:unset)
318314
self.api.v2010.account.signing_keys(sid)
319315
end
320-
321-
316+
317+
322318
##
323319
# @param [string] sid The Twilio-provided string that uniquely identifies the Transcription resource to fetch.
324320

@@ -327,8 +323,8 @@ def signing_keys(sid=:unset)
327323
def transcriptions(sid=:unset)
328324
self.api.v2010.account.transcriptions(sid)
329325
end
330-
331-
326+
327+
332328

333329
##
334330
# Provide a user friendly representation

lib/twilio-ruby/rest/media.rb

Lines changed: 0 additions & 6 deletions
This file was deleted.

lib/twilio-ruby/rest/media/v1.rb

Lines changed: 0 additions & 79 deletions
This file was deleted.

0 commit comments

Comments
 (0)