lib/active_merchant/billing/gateways/openpay.rb in activemerchant-1.108.0 vs lib/active_merchant/billing/gateways/openpay.rb in activemerchant-1.109.0
- old
+ new
@@ -3,10 +3,10 @@
class OpenpayGateway < Gateway
self.live_url = 'https://api.openpay.mx/v1/'
self.test_url = 'https://sandbox-api.openpay.mx/v1/'
self.supported_countries = ['MX']
- self.supported_cardtypes = [:visa, :master, :american_express, :carnet]
+ self.supported_cardtypes = %i[visa master american_express carnet]
self.homepage_url = 'http://www.openpay.mx/'
self.display_name = 'Openpay'
self.default_currency = 'MXN'
# Instantiate a instance of OpenpayGateway by passing through your