README.md in intercom-3.8.1 vs README.md in intercom-3.9.0

- old
+ new

@@ -16,15 +16,16 @@ This version of the gem is compatible with `Ruby 2.1` and above. ## Installation + gem install intercom Using bundler: - gem 'intercom', '~> 3.8.0' + gem 'intercom', '~> 3.8.1' ## Basic Usage ### Configure your client @@ -46,10 +47,11 @@ ### Resources Resources this API supports: https://api.intercom.io/users + https://api.intercom.io/teams https://api.intercom.io/contacts https://api.intercom.io/companies https://api.intercom.io/counts https://api.intercom.io/tags https://api.intercom.io/notes @@ -124,9 +126,17 @@ intercom.admins.me # Find an admin by id intercom.admins.find(id: admin_id) # Iterate over all admins intercom.admins.all.each {|admin| puts admin.email } +``` + +#### Teams +```ruby +# Find a team by id +intercom.teams.find(id: team_id) +# Iterate over all teams +intercom.teams.all.each {|team| puts team.name } ``` #### Companies ```ruby # Add a user to one or more companies