Skip to content

Commit 2d182bb

Browse files
committed
[Librarian] Regenerated @ 4b299c041980aa815254cd2ba767e17f2bf4465e
1 parent 9cf88af commit 2d182bb

File tree

383 files changed

+3031
-1589
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

383 files changed

+3031
-1589
lines changed

CHANGES.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
twilio-ruby changelog
22
=====================
33

4+
[2017-08-25] Version 5.2.0
5+
---------------------------
6+
**Api**
7+
- Update `status` enum for Recordings to include 'failed'
8+
- Add `error_code` property on Recordings
9+
10+
**Chat**
11+
- Add mutable parameters for channel, members and messages
12+
13+
**Video**
14+
- New `media_region` parameter when creating a room, which controls which region media will be served out of.
15+
- Add `video_codec` enum and `video_codecs` parameter, which can be set to either `VP8` or `H264` during room creation.
16+
17+
418
[2017-08-18] Version 5.1.2
519
---------------------------
620
**Api**

lib/twilio-ruby/rest/accounts/v1/credential.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,12 @@ def initialize(version, payload)
9898
def to_s
9999
"<Twilio.Accounts.V1.CredentialInstance>"
100100
end
101+
102+
##
103+
# Provide a detailed, user friendly representation
104+
def inspect
105+
"<Twilio.Accounts.V1.CredentialInstance>"
106+
end
101107
end
102108
end
103109
end

lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,13 @@ def to_s
362362
values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
363363
"<Twilio.Accounts.V1.PublicKeyInstance #{values}>"
364364
end
365+
366+
##
367+
# Provide a detailed, user friendly representation
368+
def inspect
369+
values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
370+
"<Twilio.Accounts.V1.PublicKeyInstance #{values}>"
371+
end
365372
end
366373
end
367374
end

lib/twilio-ruby/rest/api/v2010/account.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,6 +1091,13 @@ def to_s
10911091
values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
10921092
"<Twilio.Api.V2010.AccountInstance #{values}>"
10931093
end
1094+
1095+
##
1096+
# Provide a detailed, user friendly representation
1097+
def inspect
1098+
values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
1099+
"<Twilio.Api.V2010.AccountInstance #{values}>"
1100+
end
10941101
end
10951102
end
10961103
end

lib/twilio-ruby/rest/api/v2010/account/address.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,13 @@ def to_s
507507
values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
508508
"<Twilio.Api.V2010.AddressInstance #{values}>"
509509
end
510+
511+
##
512+
# Provide a detailed, user friendly representation
513+
def inspect
514+
values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
515+
"<Twilio.Api.V2010.AddressInstance #{values}>"
516+
end
510517
end
511518
end
512519
end

lib/twilio-ruby/rest/api/v2010/account/address/dependent_phone_number.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,12 @@ def capabilities
256256
def to_s
257257
"<Twilio.Api.V2010.DependentPhoneNumberInstance>"
258258
end
259+
260+
##
261+
# Provide a detailed, user friendly representation
262+
def inspect
263+
"<Twilio.Api.V2010.DependentPhoneNumberInstance>"
264+
end
259265
end
260266
end
261267
end

lib/twilio-ruby/rest/api/v2010/account/application.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,13 @@ def to_s
612612
values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
613613
"<Twilio.Api.V2010.ApplicationInstance #{values}>"
614614
end
615+
616+
##
617+
# Provide a detailed, user friendly representation
618+
def inspect
619+
values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
620+
"<Twilio.Api.V2010.ApplicationInstance #{values}>"
621+
end
615622
end
616623
end
617624
end

lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,13 @@ def to_s
323323
values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
324324
"<Twilio.Api.V2010.AuthorizedConnectAppInstance #{values}>"
325325
end
326+
327+
##
328+
# Provide a detailed, user friendly representation
329+
def inspect
330+
values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
331+
"<Twilio.Api.V2010.AuthorizedConnectAppInstance #{values}>"
332+
end
326333
end
327334
end
328335
end

lib/twilio-ruby/rest/api/v2010/account/available_phone_number.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,13 @@ def to_s
362362
values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
363363
"<Twilio.Api.V2010.AvailablePhoneNumberCountryInstance #{values}>"
364364
end
365+
366+
##
367+
# Provide a detailed, user friendly representation
368+
def inspect
369+
values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
370+
"<Twilio.Api.V2010.AvailablePhoneNumberCountryInstance #{values}>"
371+
end
365372
end
366373
end
367374
end

lib/twilio-ruby/rest/api/v2010/account/available_phone_number/local.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,12 @@ def capabilities
380380
def to_s
381381
"<Twilio.Api.V2010.LocalInstance>"
382382
end
383+
384+
##
385+
# Provide a detailed, user friendly representation
386+
def inspect
387+
"<Twilio.Api.V2010.LocalInstance>"
388+
end
383389
end
384390
end
385391
end

0 commit comments

Comments
 (0)