lib/hexx/service.rb in hexx-2.0.0 vs lib/hexx/service.rb in hexx-2.0.1
- old
+ new
@@ -1,8 +1,6 @@
-require "hexx/service/messages"
-require "hexx/service/parameters"
-require "hexx/service/validations"
-require "hexx/service/transactions"
+lib = File.dirname __FILE__
+Dir[File.join(lib, "service/**/*.rb")].each { |file| require file }
module Hexx
# Base class for service objects.
class Service