Method: WindcaveRest::Configuration#auth_settings
- Defined in:
- lib/windcave_rest/configuration.rb
#auth_settings ⇒ Object
Returns Auth Settings hash for api client.
222 223 224 225 226 227 228 229 230 231 232 |
# File 'lib/windcave_rest/configuration.rb', line 222 def auth_settings { 'Authorization' => { type: 'api_key', in: 'header', key: 'Authorization', value: api_key_with_prefix('Authorization') }, } end |