lib/active_merchant/billing/integrations/chronopay/helper.rb in smulube-activemerchant-1.5.1.3 vs lib/active_merchant/billing/integrations/chronopay/helper.rb in smulube-activemerchant-1.5.1.4
- old
+ new
@@ -16,12 +16,12 @@
COUNTRIES_FOR_LANG = {
'ES' => %w( AR BO CL CO CR CU DO EC SV GQ GT HN MX NI PA PY PE ES UY VE),
'DE' => %w( DE AT CH LI ),
'PT' => %w( AO BR CV GW MZ PT ST TL),
'RU' => %w( BY KG KZ RU ),
- 'LV' => 'LV',
- 'CN1' => 'CN',
- 'NL' => 'NL'
+ 'LV' => %w( LV ),
+ 'CN1' => %w( CN ),
+ 'NL' => %w( NL )
}
LANG_FOR_COUNTRY = COUNTRIES_FOR_LANG.inject(Hash.new("EN")) do |memo, (lang, countries)|
countries.each do |code|
memo[code] = lang