Class: Aws::Glacier::Plugins::AccountId::Handler
- Inherits:
-
Seahorse::Client::Handler
- Object
- Seahorse::Client::Handler
- Aws::Glacier::Plugins::AccountId::Handler
- Defined in:
- gems/aws-sdk-glacier/lib/aws-sdk-glacier/plugins/account_id.rb
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Handler
Instance Method Summary collapse
Methods inherited from Seahorse::Client::Handler
Constructor Details
This class inherits a constructor from Seahorse::Client::Handler
Instance Method Details
#call(context) ⇒ Object
18 19 20 21 22 23 24 |
# File 'gems/aws-sdk-glacier/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 |