Module: ActiveMerchant::Billing
- Included in:
- GatewaySupport
- Defined in:
- lib/active_merchant/billing/base.rb,
lib/active_merchant/billing/check.rb,
lib/active_merchant/billing/model.rb,
lib/active_merchant/billing/gateway.rb,
lib/active_merchant/billing/gateways.rb,
lib/active_merchant/billing/response.rb,
lib/active_merchant/billing/avs_result.rb,
lib/active_merchant/billing/cvv_result.rb,
lib/active_merchant/billing/credit_card.rb,
lib/active_merchant/billing/gateways/s5.rb,
lib/active_merchant/billing/gateways/cc5.rb,
lib/active_merchant/billing/gateways/hps.rb,
lib/active_merchant/billing/gateways/ipp.rb,
lib/active_merchant/billing/gateways/nmi.rb,
lib/active_merchant/billing/gateways/opp.rb,
lib/active_merchant/billing/gateways/pin.rb,
lib/active_merchant/billing/gateways/tns.rb,
lib/active_merchant/billing/compatibility.rb,
lib/active_merchant/billing/compatibility.rb,
lib/active_merchant/billing/gateways/cams.rb,
lib/active_merchant/billing/gateways/dibs.rb,
lib/active_merchant/billing/gateways/epay.rb,
lib/active_merchant/billing/gateways/eway.rb,
lib/active_merchant/billing/gateways/ezic.rb,
lib/active_merchant/billing/gateways/hdfc.rb,
lib/active_merchant/billing/gateways/migs.rb,
lib/active_merchant/billing/gateways/qbms.rb,
lib/active_merchant/billing/gateways/sage.rb,
lib/active_merchant/billing/gateways/telr.rb,
lib/active_merchant/billing/payment_token.rb,
lib/active_merchant/billing/gateways/adyen.rb,
lib/active_merchant/billing/gateways/bogus.rb,
lib/active_merchant/billing/gateways/culqi.rb,
lib/active_merchant/billing/gateways/ebanx.rb,
lib/active_merchant/billing/gateways/exact.rb,
lib/active_merchant/billing/gateways/forte.rb,
lib/active_merchant/billing/gateways/iveri.rb,
lib/active_merchant/billing/gateways/litle.rb,
lib/active_merchant/billing/gateways/monei.rb,
lib/active_merchant/billing/gateways/ogone.rb,
lib/active_merchant/billing/gateways/omise.rb,
lib/active_merchant/billing/gateways/payex.rb,
lib/active_merchant/billing/gateways/vanco.rb,
lib/active_merchant/billing/gateways/wepay.rb,
lib/active_merchant/billing/gateways/borgun.rb,
lib/active_merchant/billing/gateways/bpoint.rb,
lib/active_merchant/billing/gateways/cenpos.rb,
lib/active_merchant/billing/gateways/efsnet.rb,
lib/active_merchant/billing/gateways/elavon.rb,
lib/active_merchant/billing/gateways/evo_ca.rb,
lib/active_merchant/billing/gateways/jetpay.rb,
lib/active_merchant/billing/gateways/komoju.rb,
lib/active_merchant/billing/gateways/kushki.rb,
lib/active_merchant/billing/gateways/netpay.rb,
lib/active_merchant/billing/gateways/paypal.rb,
lib/active_merchant/billing/gateways/payway.rb,
lib/active_merchant/billing/gateways/realex.rb,
lib/active_merchant/billing/gateways/redsys.rb,
lib/active_merchant/billing/gateways/stripe.rb,
lib/active_merchant/billing/gateways/trexle.rb,
lib/active_merchant/billing/gateways/verifi.rb,
lib/active_merchant/billing/gateways/webpay.rb,
lib/active_merchant/billing/gateways/banwire.rb,
lib/active_merchant/billing/gateways/be2bill.rb,
lib/active_merchant/billing/gateways/cashnet.rb,
lib/active_merchant/billing/gateways/conekta.rb,
lib/active_merchant/billing/gateways/d_local.rb,
lib/active_merchant/billing/gateways/decidir.rb,
lib/active_merchant/billing/gateways/digitzs.rb,
lib/active_merchant/billing/gateways/element.rb,
lib/active_merchant/billing/gateways/garanti.rb,
lib/active_merchant/billing/gateways/inspire.rb,
lib/active_merchant/billing/gateways/iridium.rb,
lib/active_merchant/billing/gateways/mercury.rb,
lib/active_merchant/billing/gateways/moneris.rb,
lib/active_merchant/billing/gateways/netbanx.rb,
lib/active_merchant/billing/gateways/openpay.rb,
lib/active_merchant/billing/gateways/orbital.rb,
lib/active_merchant/billing/gateways/pagarme.rb,
lib/active_merchant/billing/gateways/pay_hub.rb,
lib/active_merchant/billing/gateways/payeezy.rb,
lib/active_merchant/billing/gateways/payflow.rb,
lib/active_merchant/billing/gateways/paymill.rb,
lib/active_merchant/billing/gateways/payu_in.rb,
lib/active_merchant/billing/gateways/pro_pay.rb,
lib/active_merchant/billing/gateways/psigate.rb,
lib/active_merchant/billing/gateways/quantum.rb,
lib/active_merchant/billing/gateways/qvalent.rb,
lib/active_merchant/billing/gateways/transax.rb,
lib/active_merchant/billing/gateways/viaklix.rb,
lib/active_merchant/billing/gateways/axcessms.rb,
lib/active_merchant/billing/gateways/balanced.rb,
lib/active_merchant/billing/gateways/blue_pay.rb,
lib/active_merchant/billing/gateways/cardknox.rb,
lib/active_merchant/billing/gateways/cecabank.rb,
lib/active_merchant/billing/gateways/checkout.rb,
lib/active_merchant/billing/gateways/credorax.rb,
lib/active_merchant/billing/gateways/flo2cash.rb,
lib/active_merchant/billing/gateways/instapay.rb,
lib/active_merchant/billing/gateways/maxipago.rb,
lib/active_merchant/billing/gateways/netaxept.rb,
lib/active_merchant/billing/gateways/payscout.rb,
lib/active_merchant/billing/gateways/plugnpay.rb,
lib/active_merchant/billing/gateways/psl_card.rb,
lib/active_merchant/billing/gateways/quickpay.rb,
lib/active_merchant/billing/gateways/sage_pay.rb,
lib/active_merchant/billing/gateways/smart_ps.rb,
lib/active_merchant/billing/gateways/usa_epay.rb,
lib/active_merchant/billing/gateways/wirecard.rb,
lib/active_merchant/billing/gateways/worldpay.rb,
lib/active_merchant/billing/gateways/blue_snap.rb,
lib/active_merchant/billing/gateways/braintree.rb,
lib/active_merchant/billing/gateways/card_save.rb,
lib/active_merchant/billing/gateways/clearhaus.rb,
lib/active_merchant/billing/gateways/data_cash.rb,
lib/active_merchant/billing/gateways/fat_zebra.rb,
lib/active_merchant/billing/gateways/first_pay.rb,
lib/active_merchant/billing/gateways/itransact.rb,
lib/active_merchant/billing/gateways/jetpay_v2.rb,
lib/active_merchant/billing/gateways/linkpoint.rb,
lib/active_merchant/billing/gateways/mundipagg.rb,
lib/active_merchant/billing/gateways/pay_conex.rb,
lib/active_merchant/billing/gateways/paymentez.rb,
lib/active_merchant/billing/gateways/paypal_ca.rb,
lib/active_merchant/billing/gateways/skip_jack.rb,
lib/active_merchant/billing/gateways/world_net.rb,
lib/active_merchant/billing/credit_card_methods.rb,
lib/active_merchant/billing/gateways/bank_frick.rb,
lib/active_merchant/billing/gateways/beanstream.rb,
lib/active_merchant/billing/gateways/bridge_pay.rb,
lib/active_merchant/billing/gateways/citrus_pay.rb,
lib/active_merchant/billing/gateways/creditcall.rb,
lib/active_merchant/billing/gateways/ct_payment.rb,
lib/active_merchant/billing/gateways/eway_rapid.rb,
lib/active_merchant/billing/gateways/finansbank.rb,
lib/active_merchant/billing/gateways/latitude19.rb,
lib/active_merchant/billing/gateways/mastercard.rb,
lib/active_merchant/billing/gateways/moneris_us.rb,
lib/active_merchant/billing/gateways/netbilling.rb,
lib/active_merchant/billing/gateways/pago_facil.rb,
lib/active_merchant/billing/gateways/pay_secure.rb,
lib/active_merchant/billing/gateways/payflow_uk.rb,
lib/active_merchant/billing/gateways/paystation.rb,
lib/active_merchant/billing/gateways/payu_latam.rb,
lib/active_merchant/billing/gateways/quickbooks.rb,
lib/active_merchant/billing/gateways/sallie_mae.rb,
lib/active_merchant/billing/gateways/secure_net.rb,
lib/active_merchant/billing/gateways/secure_pay.rb,
lib/active_merchant/billing/gateways/card_stream.rb,
lib/active_merchant/billing/gateways/cardprocess.rb,
lib/active_merchant/billing/gateways/checkout_v2.rb,
lib/active_merchant/billing/gateways/safe_charge.rb,
lib/active_merchant/billing/gateways/so_easy_pay.rb,
lib/active_merchant/billing/gateways/trans_first.rb,
lib/active_merchant/billing/gateways/worldpay_us.rb,
lib/active_merchant/billing/gateways/bambora_apac.rb,
lib/active_merchant/billing/gateways/card_connect.rb,
lib/active_merchant/billing/gateways/commercegate.rb,
lib/active_merchant/billing/gateways/cyber_source.rb,
lib/active_merchant/billing/gateways/eway_managed.rb,
lib/active_merchant/billing/gateways/first_giving.rb,
lib/active_merchant/billing/gateways/firstdata_e4.rb,
lib/active_merchant/billing/gateways/mercado_pago.rb,
lib/active_merchant/billing/gateways/merchant_one.rb,
lib/active_merchant/billing/gateways/micropayment.rb,
lib/active_merchant/billing/gateways/money_movers.rb,
lib/active_merchant/billing/gateways/nab_transact.rb,
lib/active_merchant/billing/gateways/net_registry.rb,
lib/active_merchant/billing/gateways/pay_gate_xml.rb,
lib/active_merchant/billing/gateways/pay_junction.rb,
lib/active_merchant/billing/gateways/securion_pay.rb,
lib/active_merchant/billing/gateways/transact_pro.rb,
lib/active_merchant/billing/gateways/visanet_peru.rb,
lib/active_merchant/billing/credit_card_formatting.rb,
lib/active_merchant/billing/gateways/allied_wallet.rb,
lib/active_merchant/billing/gateways/authorize_net.rb,
lib/active_merchant/billing/gateways/iats_payments.rb,
lib/active_merchant/billing/gateways/merchant_ware.rb,
lib/active_merchant/billing/gateways/pac_net_raven.rb,
lib/active_merchant/billing/gateways/paybox_direct.rb,
lib/active_merchant/billing/gateways/secure_pay_au.rb,
lib/active_merchant/billing/gateways/spreedly_core.rb,
lib/active_merchant/billing/gateways/transnational.rb,
lib/active_merchant/billing/apple_pay_payment_token.rb,
lib/active_merchant/billing/gateways/braintree_blue.rb,
lib/active_merchant/billing/gateways/global_collect.rb,
lib/active_merchant/billing/gateways/metrics_global.rb,
lib/active_merchant/billing/gateways/ncr_secure_pay.rb,
lib/active_merchant/billing/gateways/paypal_express.rb,
lib/active_merchant/billing/gateways/swipe_checkout.rb,
lib/active_merchant/billing/gateways/trust_commerce.rb,
lib/active_merchant/billing/gateways/flo2cash_simple.rb,
lib/active_merchant/billing/gateways/migs/migs_codes.rb,
lib/active_merchant/billing/gateways/modern_payments.rb,
lib/active_merchant/billing/gateways/optimal_payment.rb,
lib/active_merchant/billing/gateways/pay_junction_v2.rb,
lib/active_merchant/billing/gateways/payflow_express.rb,
lib/active_merchant/billing/gateways/payment_express.rb,
lib/active_merchant/billing/gateways/secure_pay_tech.rb,
lib/active_merchant/billing/gateways/braintree_orange.rb,
lib/active_merchant/billing/gateways/federated_canada.rb,
lib/active_merchant/billing/gateways/firstdata_e4_v27.rb,
lib/active_merchant/billing/gateways/global_transport.rb,
lib/active_merchant/billing/gateways/merchant_warrior.rb,
lib/active_merchant/billing/gateways/authorize_net_arb.rb,
lib/active_merchant/billing/gateways/authorize_net_cim.rb,
lib/active_merchant/billing/gateways/merchant_partners.rb,
lib/active_merchant/billing/gateways/network_merchants.rb,
lib/active_merchant/billing/gateways/usa_epay_advanced.rb,
lib/active_merchant/billing/gateways/beanstream_interac.rb,
lib/active_merchant/billing/gateways/payflow_express_uk.rb,
lib/active_merchant/billing/gateways/modern_payments_cim.rb,
lib/active_merchant/billing/gateways/barclaycard_smartpay.rb,
lib/active_merchant/billing/gateways/merchant_e_solutions.rb,
lib/active_merchant/billing/gateways/paypal_digital_goods.rb,
lib/active_merchant/billing/gateways/usa_epay_transaction.rb,
lib/active_merchant/billing/gateways/paypal_express_common.rb,
lib/active_merchant/billing/gateways/quickpay/quickpay_v10.rb,
lib/active_merchant/billing/gateways/stripe_payment_intents.rb,
lib/active_merchant/billing/gateways/quickpay/quickpay_v4to7.rb,
lib/active_merchant/billing/network_tokenization_credit_card.rb,
lib/active_merchant/billing/gateways/barclays_epdq_extra_plus.rb,
lib/active_merchant/billing/gateways/payflow/payflow_response.rb,
lib/active_merchant/billing/gateways/paypal/paypal_common_api.rb,
lib/active_merchant/billing/gateways/worldpay_online_payments.rb,
lib/active_merchant/billing/gateways/in_context_paypal_express.rb,
lib/active_merchant/billing/gateways/beanstream/beanstream_core.rb,
lib/active_merchant/billing/gateways/merchant_ware_version_four.rb,
lib/active_merchant/billing/gateways/payflow/payflow_common_api.rb,
lib/active_merchant/billing/gateways/paypal/paypal_recurring_api.rb,
lib/active_merchant/billing/gateways/paypal/paypal_express_response.rb,
lib/active_merchant/billing/gateways/trans_first_transaction_express.rb,
lib/active_merchant/billing/gateways/orbital/orbital_soft_descriptors.rb,
lib/active_merchant/billing/gateways/payflow/payflow_express_response.rb
Overview
:nodoc:
Defined Under Namespace
Modules: Base, BeanstreamCore, Compatibility, CreditCardFormatting, CreditCardMethods, MastercardGateway, MigsCodes, PayflowCommonAPI, PaypalCommonAPI, PaypalExpressCommon, PaypalRecurringApi, Rails Classes: AVSResult, AdyenGateway, AlliedWalletGateway, ApplePayPaymentToken, AuthorizeNetArbGateway, AuthorizeNetCimGateway, AuthorizeNetGateway, AxcessmsGateway, BalancedGateway, BamboraApacGateway, BankFrickGateway, BanwireGateway, BarclaycardSmartpayGateway, BarclaysEpdqExtraPlusGateway, Be2billGateway, BeanstreamGateway, BeanstreamInteracGateway, BeanstreamInteracResponse, BluePayGateway, BlueSnapGateway, BogusGateway, BorgunGateway, BpointGateway, BraintreeBlueGateway, BraintreeGateway, BraintreeOrangeGateway, BridgePayGateway, CC5Gateway, CVVResult, CamsGateway, CardConnectGateway, CardSaveGateway, CardStreamGateway, CardknoxGateway, CardprocessGateway, CashnetGateway, CecabankGateway, CenposGateway, Check, CheckoutGateway, CheckoutV2Gateway, CitrusPayGateway, ClearhausGateway, CommercegateGateway, ConektaGateway, CreditCard, CreditcallGateway, CredoraxGateway, CtPaymentGateway, CulqiGateway, CyberSourceGateway, DLocalGateway, DataCashGateway, DecidirGateway, DibsGateway, DigitzsGateway, EbanxGateway, EfsnetGateway, ElavonGateway, ElementGateway, EpayGateway, Error, EvoCaGateway, EwayGateway, EwayManagedGateway, EwayRapidGateway, ExactGateway, EzicGateway, FatZebraGateway, FederatedCanadaGateway, FinansbankGateway, FirstGivingGateway, FirstPayGateway, FirstdataE4Gateway, FirstdataE4V27Gateway, Flo2cashGateway, Flo2cashSimpleGateway, ForteGateway, GarantiGateway, Gateway, GlobalCollectGateway, GlobalTransportGateway, HdfcGateway, HpsGateway, IatsPaymentsGateway, InContextPaypalExpressGateway, InspireGateway, InstapayGateway, IppGateway, IridiumGateway, ItransactGateway, IveriGateway, JetpayGateway, JetpayV2Gateway, KomojuGateway, KushkiGateway, Latitude19Gateway, LinkpointGateway, LitleGateway, MaxipagoGateway, MercadoPagoGateway, MerchantESolutionsGateway, MerchantOneGateway, MerchantPartnersGateway, MerchantWareGateway, MerchantWareVersionFourGateway, MerchantWarriorGateway, MercuryGateway, MetricsGlobalGateway, MicropaymentGateway, MigsGateway, Model, ModernPaymentsCimGateway, ModernPaymentsGateway, MoneiGateway, MonerisGateway, MonerisUsGateway, MoneyMoversGateway, MultiResponse, MundipaggGateway, NabTransactGateway, NcrSecurePayGateway, NetRegistryGateway, NetaxeptGateway, NetbanxGateway, NetbillingGateway, NetpayGateway, NetworkMerchantsGateway, NetworkTokenizationCreditCard, NmiGateway, OgoneGateway, OgoneResponse, OmiseGateway, OpenpayGateway, OppGateway, OptimalPaymentGateway, OrbitalGateway, OrbitalSoftDescriptors, PacNetRavenGateway, PagarmeGateway, PagoFacilGateway, PayConexGateway, PayGateXmlGateway, PayHubGateway, PayJunctionGateway, PayJunctionV2Gateway, PaySecureGateway, PayboxDirectGateway, PayeezyGateway, PayexGateway, PayflowExpressGateway, PayflowExpressResponse, PayflowExpressUkGateway, PayflowGateway, PayflowResponse, PayflowUkGateway, PaymentExpressGateway, PaymentExpressResponse, PaymentMethodDetails, PaymentToken, PaymentezGateway, PaymillGateway, PaypalCaGateway, PaypalDigitalGoodsGateway, PaypalExpressGateway, PaypalExpressResponse, PaypalGateway, PayscoutGateway, PaystationGateway, PaystationResponse, PayuInGateway, PayuLatamGateway, PaywayGateway, PinGateway, PlugnpayGateway, ProPayGateway, PsigateGateway, PslCardGateway, QbmsGateway, QuantumGateway, QuickbooksGateway, QuickpayGateway, QuickpayV10Gateway, QuickpayV4to7Gateway, QvalentGateway, RealexGateway, RedsysGateway, Response, S5Gateway, SafeChargeGateway, SageGateway, SagePayGateway, SallieMaeGateway, SecureNetGateway, SecurePayAuGateway, SecurePayGateway, SecurePayTechGateway, SecurionPayGateway, SkipJackGateway, SmartPs, SoEasyPayGateway, SpreedlyCoreGateway, StripeGateway, StripePaymentIntentsGateway, SwipeCheckoutGateway, TelrGateway, TnsGateway, TransFirstGateway, TransFirstTransactionExpressGateway, TransactProGateway, TransaxGateway, TransnationalGateway, TrexleGateway, TrustCommerceGateway, UsaEpayAdvancedGateway, UsaEpayGateway, UsaEpayTransactionGateway, VancoGateway, VerifiGateway, ViaklixGateway, VisanetPeruGateway, WebpayGateway, WepayGateway, WirecardGateway, WorldNetGateway, WorldpayGateway, WorldpayOnlinePaymentsGateway, WorldpayUsGateway
Instance Method Summary collapse
Instance Method Details
#underscore(camel_cased_word) ⇒ Object
318 319 320 321 322 323 324 |
# File 'lib/active_merchant/billing/gateways/pro_pay.rb', line 318 def underscore(camel_cased_word) camel_cased_word.to_s.gsub(/::/, '/'). gsub(/([A-Z]+)([A-Z][a-z])/, '\1_\2'). gsub(/([a-z\d])([A-Z])/, '\1_\2'). tr('-', '_'). downcase end |