Module: MerbMerchant::Billing::SageCore
- Included in:
- SageBankcardGateway, SageVirtualCheckGateway
- Defined in:
- lib/merb_merchant/billing/gateways/sage/sage_core.rb
Overview
:nodoc:
Constant Summary collapse
- TRANSACTIONS =
Transactions types:
01
- Sale02
- AuthOnly03
- Force/PriorAuthSale04
- Void06
- Credit11
- PriorAuthSale by Reference* { :purchase => '01', :authorization => '02', :capture => '11', :void => '04', :credit => '06' }
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/merb_merchant/billing/gateways/sage/sage_core.rb', line 4 def self.included(base) base.cattr_accessor :url base.cattr_accessor :source base.supported_countries = ['US', 'CA'] base.homepage_url = 'http://www.sagepayments.com' base.display_name = 'Sage Payment Solutions' end |
Instance Method Details
#initialize(options = {}) ⇒ Object
27 28 29 30 31 |
# File 'lib/merb_merchant/billing/gateways/sage/sage_core.rb', line 27 def initialize( = {}) requires!(, :login, :password) @options = super end |