Method: TalonOne::Configuration#api_key

Defined in:
lib/talon_one/configuration.rb

#api_keyHash

Defines API keys used with API Key authentications.

Examples:

parameter name is “api_key”, API key is “xxx” (e.g. “api_key=xxx” in query string)

config.api_key['api_key'] = 'xxx'

Returns:

  • (Hash)

    key: parameter name, value: parameter value (API key)



30
31
32
# File 'lib/talon_one/configuration.rb', line 30

def api_key
  @api_key
end