Method: Aliyun::OSS::MissingAccessKey#initialize
- Defined in:
- lib/aliyun/oss/exceptions.rb
#initialize(missing_keys) ⇒ MissingAccessKey
Returns a new instance of MissingAccessKey.
48 49 50 51 |
# File 'lib/aliyun/oss/exceptions.rb', line 48 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 |