Method: Amazon::MWS::MissingAccessKey#initialize
- Defined in:
- lib/amazon/mws/exceptions.rb
#initialize(missing_keys) ⇒ MissingAccessKey
Returns a new instance of MissingAccessKey.
66 67 68 69 |
# File 'lib/amazon/mws/exceptions.rb', line 66 def initialize(missing_keys) key_list = missing_keys.map {|key| key.to_s}.join(' and the ') super("You did not provide both required access keys. Please provide the #{key_list}.") end |