Class: Seahorse::Client::Plugins::Endpoint::Handler
- Defined in:
- lib/seahorse/client/plugins/endpoint.rb
Instance Attribute Summary
Attributes inherited from Handler
Instance Method Summary collapse
Methods inherited from Handler
Constructor Details
This class inherits a constructor from Seahorse::Client::Handler
Instance Method Details
#call(context) ⇒ Object
39 40 41 42 |
# File 'lib/seahorse/client/plugins/endpoint.rb', line 39 def call(context) context.http_request.endpoint = URI.parse(context.config.endpoint.to_s) @handler.call(context) end |