README.md in fullcontact-0.17.0 vs README.md in fullcontact-0.18.0
- old
+ new
@@ -7,19 +7,22 @@
[![Code Climate](https://codeclimate.com/github/fullcontact/fullcontact-api-ruby/badges/gpa.svg)](https://codeclimate.com/github/fullcontact/fullcontact-api-ruby)
[![Test Coverage](https://codeclimate.com/github/fullcontact/fullcontact-api-ruby/badges/coverage.svg)](https://codeclimate.com/github/fullcontact/fullcontact-api-ruby)
Changes
-------
+- 0.18.0
+ - Add ability to query Company API by company name
+ - Fix XML bug in Company API module
- 0.17.0 - Upgrade Faraday plugin to ~> 0.11.0
- 0.16.0 - Upgrade Faraday plugin to ~> 0.10.0.
- 0.15.0 - Add header-based auth via `config.auth_type = :header` control.
- 0.14.0 - Remove `plissken` gem to support Rails 5 (#42)
- 0.13.0
- Raise `ArgumentError` if query by Facebook ID/username is used.
- Remove deprecated messages.
- 0.12.0 - `include_headers_in_response = true` includes response headers in returned payload
- - Accessible as `http_headers` in response. Also accessible on thrown errors (e.g. RateLimited)
+ - Accessible as `http_headers` in response. Also accessible on thrown errors (e.g. RateLimited)
- 0.11.0 - Plisskin transformation can be disabled by specifying a `skip_rubyize = true` in config block.
- 0.10.0 - Support for FullContact Company API
- 0.9.0 - Removed Rash gem and replaced with Mashify + Plisskin
- 0.8.2 - Fix for 0.8.0 constant resolution issue.
- 0.8.0
@@ -111,9 +114,19 @@
You can also query the Company API
```ruby
# Get information about a company
company1 = FullContact.company(domain: 'fullcontact.com')
+
+ company1.organization.name
+ => "FullContact Inc."
+```
+
+The Company API also supports searching by company name.
+Please see [our API documentation](https://www.fullcontact.com/developer/docs/company/#lookup-by-company-name) for more details.
+```ruby
+ # Get information about a company
+ company1 = FullContact.company(companyName: 'FullContact')
company1.organization.name
=> "FullContact Inc."
```