lib/twilio-ruby.rb in twilio-ruby-5.2.3 vs lib/twilio-ruby.rb in twilio-ruby-5.3.0

- old
+ new

@@ -8,19 +8,17 @@ require 'jwt' require 'time' require 'json' require 'twilio-ruby/version' unless defined?(Twilio::VERSION) -require 'rack/twilio_webhook_authentication' require 'twilio-ruby/util' require 'twilio-ruby/jwt/jwt' require 'twilio-ruby/jwt/access_token' require 'twilio-ruby/jwt/client_capability' require 'twilio-ruby/jwt/task_router' require 'twilio-ruby/security/request_validator' -require 'twilio-ruby/util/configuration' require 'twilio-ruby/twiml/twiml' require 'twilio-ruby/twiml/voice_response' require 'twilio-ruby/twiml/messaging_response' @@ -40,22 +38,6 @@ require file end module Twilio extend SingleForwardable - - def_delegators :configuration, :account_sid, :auth_token - - ## - # Pre-configure with account SID and auth token so that you don't need to - # pass them to various initializers each time. - def self.configure(&block) - yield configuration - end - - ## - # Returns an existing or instantiates a new configuration object. - def self.configuration - @configuration ||= Util::Configuration.new - end - private_class_method :configuration end