lib/reapal.rb in reapal-0.1.0 vs lib/reapal.rb in reapal-0.2.0
- old
+ new
@@ -5,22 +5,22 @@
require "openssl"
require "base64"
require 'macaddr'
require 'byebug'
require 'logger'
+require 'bigdecimal'
+require 'bigdecimal/util'
require "reapal/version"
require "reapal/utils"
+require "reapal/extensions"
require "reapal/sign/md5"
require "reapal/encrypt/rsa"
require "reapal/encrypt/aes"
require "reapal/http/communicate"
require "reapal/http/response"
-
# 自动加载所有 api
-Dir["#{File.dirname(__FILE__)}/reapal/api/**/*.rb"].each { |file|
- require file
-}
+Dir["#{File.dirname(__FILE__)}/reapal/api/**/*.rb"].each { |file| require file }
require "reapal/client"
# 融宝存管
# 主入口