lib/purecloudplatformclientv2/api/routing_api.rb in purecloudplatformclientv2-58.0.1 vs lib/purecloudplatformclientv2/api/routing_api.rb in purecloudplatformclientv2-59.0.0
- old
+ new
@@ -2656,11 +2656,11 @@
- if opts[:'phone_number_type'] && !['local', 'mobile', 'tollfree'].include?(opts[:'phone_number_type'])
- fail ArgumentError, 'invalid value for "phone_number_type", must be one of local, mobile, tollfree'
+ if opts[:'phone_number_type'] && !['local', 'mobile', 'tollfree', 'shortcode'].include?(opts[:'phone_number_type'])
+ fail ArgumentError, 'invalid value for "phone_number_type", must be one of local, mobile, tollfree, shortcode'
end