lib/AfricasTalking.rb in africastalking-ruby-2.1.3 vs lib/AfricasTalking.rb in africastalking-ruby-2.1.4

- old
+ new

@@ -1,12 +1,8 @@ -require "AfricasTalking/version" require 'httparty' -require "AfricasTalking/Sms" -require "AfricasTalking/Airtime" -require "AfricasTalking/Payments" -require "AfricasTalking/Voice" -require "AfricasTalking/Token" -require "AfricasTalking/Application" +Dir[File.expand_path('AfricasTalking/*.rb', __dir__)].reverse.each do |f| + require f +end module AfricasTalking DEBUG = false @username = nil @apikey = nil