lib/webtopay.rb in webtopay-1.2.1 vs lib/webtopay.rb in webtopay-1.6.0
- old
+ new
@@ -1,12 +1,15 @@
require 'webtopay/exception'
require 'webtopay/configuration'
-require 'webtopay/api'
+require 'webtopay/payment'
+require 'webtopay/response'
require 'webtopay_controller'
require 'webtopay_helper'
module WebToPay
+ API_VERSION = '1.6'
+
class << self
attr_accessor :config
def configure
self.config ||= Configuration.new
@@ -14,7 +17,6 @@
end
end
end
ActionController::Base.send(:include, WebToPayController)
-ActionView::Base.send(:include, WebToPayHelper)
-
+ActionView::Base.send(:include, WebToPayHelper)
\ No newline at end of file