Sha256: 8c8d0d9a95c90c6f0e714ceab1553c8867cc22d3fe84569605a9a77262c90fc5

Contents?: true

Size: 458 Bytes

Versions: 2

Compression:

Stored size: 458 Bytes

Contents

require 'webtopay/exception'
require 'webtopay/configuration'
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
      yield(config)
    end
  end
end

ActionController::Base.send(:include, WebToPayController)
ActionView::Base.send(:include, WebToPayHelper)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
webtopay-1.6.1 lib/webtopay.rb
webtopay-1.6.0 lib/webtopay.rb