lib/twilio-ruby/rest/ip_messaging/v1/service.rb in twilio-ruby-5.72.1 vs lib/twilio-ruby/rest/ip_messaging/v1/service.rb in twilio-ruby-5.73.0

- old
+ new

@@ -428,11 +428,11 @@ 'default_service_role_sid' => payload['default_service_role_sid'], 'default_channel_role_sid' => payload['default_channel_role_sid'], 'default_channel_creator_role_sid' => payload['default_channel_creator_role_sid'], 'read_status_enabled' => payload['read_status_enabled'], 'reachability_enabled' => payload['reachability_enabled'], - 'typing_indicator_timeout' => payload['typing_indicator_timeout'].to_i, - 'consumption_report_interval' => payload['consumption_report_interval'].to_i, + 'typing_indicator_timeout' => payload['typing_indicator_timeout'] == nil ? payload['typing_indicator_timeout'] : payload['typing_indicator_timeout'].to_i, + 'consumption_report_interval' => payload['consumption_report_interval'] == nil ? payload['consumption_report_interval'] : payload['consumption_report_interval'].to_i, 'limits' => payload['limits'], 'webhooks' => payload['webhooks'], 'pre_webhook_url' => payload['pre_webhook_url'], 'post_webhook_url' => payload['post_webhook_url'], 'webhook_method' => payload['webhook_method'], \ No newline at end of file