Skip to content

Comments

Allowing company users to be listed by company_id#428

Merged
choran merged 3 commits intomasterfrom
jonny/list_users_by_company_id
Oct 2, 2018
Merged

Allowing company users to be listed by company_id#428
choran merged 3 commits intomasterfrom
jonny/list_users_by_company_id

Conversation

@jonnyom
Copy link
Contributor

@jonnyom jonnyom commented Oct 1, 2018

Why?

We currently can't list users from a company by external company_id.

How?

This adds two methods to the Company class which specifies whether to look users up by Intercom Company ID, or by external company_id.

We've also deleted the unnecessary ExtendedApiOPerations::User module.

@colinfkennedy
Copy link

Addresses #392

Copy link

@colinfkennedy colinfkennedy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need a version update Not required

Copy link

@colinfkennedy colinfkennedy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My bad, didn't know the version update was automatic

@choran
Copy link
Member

choran commented Oct 2, 2018

Cool, this looks really tidy as well, nice work @jonnyom @colinfkennedy
I will note it in the changes log that this is a breaking change but we should also make a note of it in the description of the PR for reference in future, just good to call that out prominently wherever possible to ensure we know a major version upgrade is needed.

@choran choran merged commit 93a546d into master Oct 2, 2018
@choran choran mentioned this pull request Oct 2, 2018
@jonnyom jonnyom deleted the jonny/list_users_by_company_id branch October 2, 2018 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants