Class: Aspera::Plugins::Transferd::Api::ApiKeyInterceptor
- Inherits:
-
GRPC::ClientInterceptor
- Object
- GRPC::ClientInterceptor
- Aspera::Plugins::Transferd::Api::ApiKeyInterceptor
- Defined in:
- lib/aspera/plugins/transferd/api.rb
Overview
Sends the API key of the daemon (authentication of its configuration) in the metadata api_key of each call
Instance Method Summary collapse
-
#initialize(api_key) ⇒ ApiKeyInterceptor
constructor
A new instance of ApiKeyInterceptor.
Constructor Details
#initialize(api_key) ⇒ ApiKeyInterceptor
Returns a new instance of ApiKeyInterceptor.
26 27 28 29 |
# File 'lib/aspera/plugins/transferd/api.rb', line 26 def initialize(api_key) super() @api_key = api_key end |