lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb in twilio-ruby-6.3.0 vs lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb in twilio-ruby-6.3.1
- old
+ new
@@ -138,11 +138,10 @@
# @param [Integer] page_size Number of records to return, defaults to 50
# @return [Page] Page of ChannelInstance
def page(type: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
params = Twilio::Values.of({
- 'Type' => Twilio.serialize_list(type),
-
+ 'Type' => Twilio.serialize_list(type) { |e| e },
'PageToken' => page_token,
'Page' => page_number,
'PageSize' => page_size,
})