lib/reapal.rb in reapal-0.2.2 vs lib/reapal.rb in reapal-0.3.0
- old
+ new
@@ -15,10 +15,17 @@
require "reapal/extensions"
require "reapal/sign/md5"
require "reapal/encrypt/rsa"
require "reapal/encrypt/aes"
require "reapal/http/communicate"
+require "reapal/http/decode"
require "reapal/http/response"
+require "reapal/http/error_code/common"
+require "reapal/http/error_code/user"
+require "reapal/http/error_code/money"
+require "reapal/http/error_code/tender"
+require "reapal/http/error_code/order"
+
# 自动加载所有 api
Dir["#{File.dirname(__FILE__)}/reapal/api/**/*.rb"].each { |file| require file }
# 自动加载所有 form
Dir["#{File.dirname(__FILE__)}/reapal/form/**/*.rb"].each { |file| require file }