Method: YNAB::Configuration#auth_settings
- Defined in:
- lib/ynab/configuration.rb
#auth_settings ⇒ Object
Returns Auth Settings hash for api client.
242 243 244 245 246 247 248 249 250 251 252 |
# File 'lib/ynab/configuration.rb', line 242 def auth_settings { 'bearer' => { type: 'bearer', in: 'header', key: 'Authorization', value: "Bearer #{access_token_with_refresh}" }, } end |