Class: Aws::Glacier::Plugins::AccountId::Handler
- Inherits:
-
Seahorse::Client::Handler
- Object
- Seahorse::Client::Handler
- Aws::Glacier::Plugins::AccountId::Handler
- Defined in:
- lib/aws-sdk-glacier/plugins/account_id.rb
Instance Method Summary collapse
Instance Method Details
#call(context) ⇒ Object
18 19 20 21 22 23 24 |
# File 'lib/aws-sdk-glacier/plugins/account_id.rb', line 18 def call(context) context.params[:account_id] ||= context.config.account_id if context.params[:account_id].empty? context.params[:account_id] = '-' end @handler.call(context) end |