Class: Gonebusy::CustomAuth
- Inherits:
-
Object
- Object
- Gonebusy::CustomAuth
- Defined in:
- lib/gonebusy/http/auth/custom_auth.rb
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.
7 8 9 10 11 12 13 14 |
# File 'lib/gonebusy/http/auth/custom_auth.rb', line 7 def self.apply(http_request) # TODO: Add your custom authentication here # The following properties are available to use # Configuration.authorization # # Example: # Add a header through: http_request.headers["key"] = "value" end |