lib/vacuum/locale.rb in vacuum-3.1.0 vs lib/vacuum/locale.rb in vacuum-3.2.0
- old
+ new
@@ -7,11 +7,10 @@
class Locale
# Raised when the provided marketplace does not correspond to an existing
# Amazon locale
class NotFound < KeyError; end
- # @!visibility private
HOSTS_AND_REGIONS = {
au: ['webservices.amazon.com.au', 'us-west-2'],
br: ['webservices.amazon.com.br', 'us-east-1'],
ca: ['webservices.amazon.ca', 'us-east-1'],
fr: ['webservices.amazon.fr', 'eu-west-1'],
@@ -24,9 +23,10 @@
tr: ['webservices.amazon.com.tr', 'eu-west-1'],
ae: ['webservices.amazon.ae', 'eu-west-1'],
gb: ['webservices.amazon.co.uk', 'eu-west-1'],
us: ['webservices.amazon.com', 'us-east-1']
}.freeze
+ private_constant :HOSTS_AND_REGIONS
# @return [String]
attr_reader :host, :region, :access_key, :secret_key, :partner_tag,
:partner_type