lib/twilio-ruby.rb in twilio-ruby-5.66.2 vs lib/twilio-ruby.rb in twilio-ruby-5.67.0
- old
+ new
@@ -8,10 +8,10 @@
require 'forwardable'
require 'time'
require 'json'
require 'twilio-ruby/version' unless defined?(Twilio::VERSION)
-require 'rack/twilio_webhook_authentication' if defined?(Rack)
+require 'rack/twilio_webhook_authentication' if defined?(Rack) && defined?(Rack::MediaType)
require 'twilio-ruby/util'
require 'twilio-ruby/security/request_validator'
require 'twilio-ruby/util/configuration'