Class: TestPack1::CustomQueryAuth
- Inherits:
-
Object
- Object
- TestPack1::CustomQueryAuth
- Defined in:
- lib/test_pack_1/http/auth/custom_query_auth.rb
Overview
Utility class for custom query_parameter authorization.
Class Method Summary collapse
-
.apply(http_request) ⇒ Object
Add custom authentication to the request.
Class Method Details
.apply(http_request) ⇒ Object
Add custom authentication to the request. be added.
12 13 14 |
# File 'lib/test_pack_1/http/auth/custom_query_auth.rb', line 12 def self.apply(http_request) http_request.add_query_parameter('apiToken', Configuration.api_token) end |