fullcontact / fullcontact-api-ruby

A Ruby wrapper for the FullContact API
MIT License
82 stars 84 forks source link

Syntax example in Readme uses "headers" instead of "header" #46

Open rcavezza opened 8 years ago

rcavezza commented 8 years ago

Took me a little bit of time to figure this out.

# This could go in an initializer
    FullContact.configure do |config|
        config.api_key = 'fullcontact_api_key_goes_here'
        config.auth_type = :headers # :header or :query
    end

Should be

# This could go in an initializer
    FullContact.configure do |config|
        config.api_key = 'fullcontact_api_key_goes_here'
        config.auth_type = :header # :header or :query
    end
m272cels commented 7 years ago

👍 , not sure how long it would have taken me to figure this out without looking at this issue.