Method: ElasticEmail::Configuration#auth_settings
- Defined in:
- lib/ElasticEmail/configuration.rb
#auth_settings ⇒ Object
Returns Auth Settings hash for api client.
235 236 237 238 239 240 241 242 243 244 245 |
# File 'lib/ElasticEmail/configuration.rb', line 235 def auth_settings { 'apikey' => { type: 'api_key', in: 'header', key: 'X-ElasticEmail-ApiKey', value: api_key_with_prefix('apikey') }, } end |