lib/creditsafe/constants.rb in creditsafe-0.6.0 vs lib/creditsafe/constants.rb in creditsafe-0.6.1

- old
+ new

@@ -1,49 +1,49 @@ -# frozen_string_literal: true - -module Constants - module Country - AUSTRALIA = "AU" - AUSTRIA = "AT" - BELGIUM = "BE" - BULGARIA = "BG" - CANADA = "CA" - CROATIA = "HR" - CZECH_REPUBLIC = "CZ" - DENMARK = "DK" - ESTONIA = "EE" - FINLAND = "FI" - FRANCE = "FR" - GERMANY = "DE" - GREAT_BRITAIN = "GB" - GREECE = "GR" - HUNGARY = "HU" - ICELAND = "IS" - IRELAND = "IE" - ITALY = "IT" - LATVIA = "LV" - LIECHTENSTEIN = "LI" - LITHUANIA = "LT" - LUXEMBOURG = "LU" - MALTA = "MT" - MOLDOVA = "MD" - NETHERLANDS = "NL" - NEW_ZEALAND = "NZ" - NORWAY = "NO" - POLAND = "PL" - PORTUGAL = "PT" - ROMANIA = "RO" - SLOVAKIA = "SK" - SLOVENIA = "SI" - SPAIN = "ES" - SWEDEN = "SE" - SWITZERLAND = "CH" - UK = "GB" - UNITED_STATES = "US" - - VAT_NUMBER_SUPPORTED = [ - GERMANY, FRANCE, CZECH_REPUBLIC, SLOVAKIA, BELGIUM, POLAND, PORTUGAL, SPAIN, - UNITED_STATES, SLOVENIA, CROATIA, BULGARIA, ROMANIA, LATVIA, ESTONIA, MOLDOVA, - AUSTRIA, ITALY, HUNGARY, FINLAND, DENMARK, AUSTRALIA, GREECE - ].freeze - end -end +# frozen_string_literal: true + +module Constants + module Country + AUSTRALIA = "AU" + AUSTRIA = "AT" + BELGIUM = "BE" + BULGARIA = "BG" + CANADA = "CA" + CROATIA = "HR" + CZECH_REPUBLIC = "CZ" + DENMARK = "DK" + ESTONIA = "EE" + FINLAND = "FI" + FRANCE = "FR" + GERMANY = "DE" + GREAT_BRITAIN = "GB" + GREECE = "GR" + HUNGARY = "HU" + ICELAND = "IS" + IRELAND = "IE" + ITALY = "IT" + LATVIA = "LV" + LIECHTENSTEIN = "LI" + LITHUANIA = "LT" + LUXEMBOURG = "LU" + MALTA = "MT" + MOLDOVA = "MD" + NETHERLANDS = "NL" + NEW_ZEALAND = "NZ" + NORWAY = "NO" + POLAND = "PL" + PORTUGAL = "PT" + ROMANIA = "RO" + SLOVAKIA = "SK" + SLOVENIA = "SI" + SPAIN = "ES" + SWEDEN = "SE" + SWITZERLAND = "CH" + UK = "GB" + UNITED_STATES = "US" + + VAT_NUMBER_SUPPORTED = [ + GERMANY, FRANCE, CZECH_REPUBLIC, SLOVAKIA, BELGIUM, POLAND, PORTUGAL, SPAIN, + UNITED_STATES, SLOVENIA, CROATIA, BULGARIA, ROMANIA, LATVIA, ESTONIA, MOLDOVA, + AUSTRIA, ITALY, HUNGARY, FINLAND, DENMARK, AUSTRALIA, GREECE + ].freeze + end +end