lib/plaid/configuration.rb
# Returns Auth Settings hash for api client.
Returns Auth Settings hash for api client.
Returns Auth Settings hash for api client .
def auth_settings
      {
        'clientId' =>
          {
            type: 'api_key',
            in: 'header',
            key: 'PLAID-CLIENT-ID',
            value: api_key_with_prefix('PLAID-CLIENT-ID')
          },
        'plaidVersion' =>
          {
            type: 'api_key',
            in: 'header',
            key: 'Plaid-Version',
            value: api_key_with_prefix('Plaid-Version')
          },
        'secret' =>
          {
            type: 'api_key',
            in: 'header',
            key: 'PLAID-SECRET',
            value: api_key_with_prefix('PLAID-SECRET')
          },
      }
    end
def auth_settings { 'clientId' => { type : 'api_key' , in : 'header' , key : 'PLAID-CLIENT-ID' , value : api_key_with_prefix ( 'PLAID-CLIENT-ID' ) } , 'plaidVersion' => { type : 'api_key' , in : 'header' , key : 'Plaid-Version' , value : api_key_with_prefix ( 'Plaid-Version' ) } , 'secret' => { type : 'api_key' , in : 'header' , key : 'PLAID-SECRET' , value : api_key_with_prefix ( 'PLAID-SECRET' ) } , } end
Returns Auth Settings hash for api client.
Returns Auth Settings hash for api client .