Class: Pinch::CustomAuthUtility
- Inherits:
-
Object
- Object
- Pinch::CustomAuthUtility
- Defined in:
- lib/pinch/custom_auth_utility.rb
Class Method Summary collapse
-
.append_custom_auth_params(headers) ⇒ Object
Appends the necessary OAuth credentials for making this authorized call.
Class Method Details
.append_custom_auth_params(headers) ⇒ Object
Appends the necessary OAuth credentials for making this authorized call
7 8 9 10 11 12 13 14 15 |
# File 'lib/pinch/custom_auth_utility.rb', line 7 def self.append_custom_auth_params(headers) # TODO: Add your custom authentication here # The following properties are available to use # Configuration.x_api_token # Configuration.x_api_email # # i.e., Add a header through: # headers["key"] = "value" end |