Sha256: 7c8f868d2b5efd21fa4060d2ca212c690d9633d1bb39607a5511c680aeca51d6
Contents?: true
Size: 828 Bytes
Versions: 2
Compression:
Stored size: 828 Bytes
Contents
require File.expand_path('../epayco/error', __FILE__) require File.expand_path('../epayco/configuration', __FILE__) require File.expand_path('../epayco/api', __FILE__) require File.expand_path('../epayco/client', __FILE__) require File.expand_path('../epayco/response', __FILE__) module EPayCo extend Configuration class << self # Alias for EPayCo::Client.new # # @return [EPayCo::Client] def client(options={}) EPayCo::Client.new(options) end # Delegate to EPayCo::Client def method_missing(method, *args, &block) return super unless client.respond_to?(method) client.send(method, *args, &block) end # Delegate to EPayCo::Client def respond_to?(method, include_all=false) return client.respond_to?(method, include_all) || super end end end # EPayCo
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
epayco-0.0.3 | lib/epayco.rb |
epayco-0.0.2 | lib/epayco.rb |