lib/active_merchant/billing/gateways/epay.rb in activemerchant-1.108.0 vs lib/active_merchant/billing/gateways/epay.rb in activemerchant-1.109.0
- old
+ new
@@ -3,12 +3,12 @@
class EpayGateway < Gateway
self.live_url = 'https://ssl.ditonlinebetalingssystem.dk/'
self.default_currency = 'DKK'
self.money_format = :cents
- self.supported_cardtypes = [:dankort, :forbrugsforeningen, :visa, :master,
- :american_express, :diners_club, :jcb, :maestro]
- self.supported_countries = ['DK', 'SE', 'NO']
+ self.supported_countries = %w[DK SE NO]
+ self.supported_cardtypes = %i[dankort forbrugsforeningen visa master
+ american_express diners_club jcb maestro]
self.homepage_url = 'http://epay.dk/'
self.display_name = 'ePay'
CURRENCY_CODES = {
ADP: '020', AED: '784', AFA: '004', ALL: '008', AMD: '051',