Module: MerchantSidekick

Defined in:
lib/merchant_sidekick/order.rb,
lib/merchant_sidekick/buyer.rb,
lib/merchant_sidekick/money.rb,
lib/merchant_sidekick/seller.rb,
lib/merchant_sidekick/gateway.rb,
lib/merchant_sidekick/install.rb,
lib/merchant_sidekick/invoice.rb,
lib/merchant_sidekick/payment.rb,
lib/merchant_sidekick/railtie.rb,
lib/merchant_sidekick/version.rb,
lib/merchant_sidekick/sellable.rb,
lib/merchant_sidekick/line_item.rb,
lib/merchant_sidekick/sales_order.rb,
lib/merchant_sidekick/sales_invoice.rb,
lib/merchant_sidekick/purchase_order.rb,
lib/merchant_sidekick/purchase_invoice.rb,
lib/merchant_sidekick/shopping_cart/cart.rb,
lib/merchant_sidekick/addressable/address.rb,
lib/merchant_sidekick/addressable/addressable.rb,
lib/merchant_sidekick/shopping_cart/line_item.rb,
lib/merchant_sidekick/active_merchant/gateways/base.rb,
lib/merchant_sidekick/active_merchant/credit_card_payment.rb,
lib/merchant_sidekick/active_merchant/gateways/bogus_gateway.rb,
lib/merchant_sidekick/active_merchant/gateways/paypal_gateway.rb,
lib/merchant_sidekick/active_merchant/gateways/authorize_net_gateway.rb

Overview

Implements the AuthorizeNet specific active merchant gateway wrapper to configure the gateway properly.

Defined Under Namespace

Modules: ActiveMerchant, Addressable, Buyer, Money, Sellable, Seller, ShoppingCart Classes: AuthorizationError, Gateway, Install, Invoice, LineItem, Order, Payment, PurchaseInvoice, PurchaseOrder, Railtie, RecurringPaymentError, SalesInvoice, SalesOrder

Constant Summary collapse

VERSION =
"0.4.2"

Class Method Summary collapse

Class Method Details

.default_gatewayObject



5
6
7
# File 'lib/merchant_sidekick/gateway.rb', line 5

def default_gateway
  MerchantSidekick::Gateway.default_gateway
end

.default_gateway=(value) ⇒ Object

Overrides MerchantSidekick::default_gateway setter defined in merchant_sidekick/gateway



6
7
8
# File 'lib/merchant_sidekick/active_merchant/gateways/base.rb', line 6

def default_gateway=(value)
  MerchantSidekick::Gateway.default_gateway = value
end