lib/twilio-ruby.rb in twilio-ruby-0.3.0 vs lib/twilio-ruby.rb in twilio-ruby-0.3.1
- old
+ new
@@ -8,34 +8,8 @@
require 'twilio-ruby/rest/utils'
require 'twilio-ruby/rest/list_resource'
require 'twilio-ruby/rest/instance_resource'
-require 'twilio-ruby/rest/sandbox/sandbox'
-require 'twilio-ruby/rest/accounts/account'
-require 'twilio-ruby/rest/accounts/accounts'
-require 'twilio-ruby/rest/calls/call'
-require 'twilio-ruby/rest/calls/calls'
-require 'twilio-ruby/rest/sms/sms'
-require 'twilio-ruby/rest/sms/message'
-require 'twilio-ruby/rest/sms/messages'
-require 'twilio-ruby/rest/outgoing_caller_ids/outgoing_caller_id'
-require 'twilio-ruby/rest/outgoing_caller_ids/outgoing_caller_ids'
-require 'twilio-ruby/rest/incoming_phone_numbers/incoming_phone_number'
-require 'twilio-ruby/rest/incoming_phone_numbers/incoming_phone_numbers'
-require 'twilio-ruby/rest/available_phone_numbers/available_phone_number'
-require 'twilio-ruby/rest/available_phone_numbers/available_phone_numbers'
-require 'twilio-ruby/rest/available_phone_numbers/country'
-require 'twilio-ruby/rest/available_phone_numbers/local'
-require 'twilio-ruby/rest/available_phone_numbers/toll_free'
-require 'twilio-ruby/rest/conferences/conference'
-require 'twilio-ruby/rest/conferences/conferences'
-require 'twilio-ruby/rest/conferences/participant'
-require 'twilio-ruby/rest/conferences/participants'
-require 'twilio-ruby/rest/recordings/recording'
-require 'twilio-ruby/rest/recordings/recordings'
-require 'twilio-ruby/rest/transcriptions/transcription'
-require 'twilio-ruby/rest/transcriptions/transcriptions'
-require 'twilio-ruby/rest/notifications/notification'
-require 'twilio-ruby/rest/notifications/notifications'
+Dir.glob('twilio-ruby/rest/*/*.rb').each {|f| require f}
require 'twilio-ruby/rest/client'
require 'twilio-ruby/twiml/response'