Skip to content

Instantly share code, notes, and snippets.

@matthodan
Created July 23, 2010 22:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthodan/488181 to your computer and use it in GitHub Desktop.
Save matthodan/488181 to your computer and use it in GitHub Desktop.
# This is a ruby array of all Canadian provinces and corresponding abbreviations
# that are recognized by PayPal's API as of July 23, 2010
@canada_province_codes = [
['Alberta', 'AB'],
['British Columbia', 'BC'],
['Manitoba', 'MB'],
['New Brunswick', 'NB'],
['Newfoundland and Labrador', 'NL'],
['Northwest Territories', 'NT'],
['Nova Scotia', 'NS'],
['Nunavut', 'NU'],
['Ontario', 'ON'],
['Prince Edward Island', 'PE'],
['Quebec', 'QC'],
['Saskatchewan', 'SK'],
['Yukon', 'YT']
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment