-
Notifications
You must be signed in to change notification settings - Fork 407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Two new API's added for companies #194
base: master
Are you sure you want to change the base?
Conversation
-Retrieving a List of Companies Followed -Retrieving suggested list companies to Follow
- Retrieving a List of companies user currently following - Retrieving a List of companies suggested companies to follow
@@ -148,6 +153,15 @@ def company_path(options) | |||
end | |||
end | |||
|
|||
def companies_path(options) | |||
path = "/people/~" | |||
if options[:suggetions] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:suggestions
not :suggetions
I think the API needs some cleanup.
def suggested_companies
simple_query('/people/~/suggestions/to-follow/companies')
end
def followed_companies
simple_query('/people/~/following/companies')
end |
-Retrieving a List of companies user currently following -Retrieving a List of companies suggested companies to follow
Nice catch for :suggestions, cleaned up for single responsibility |
Added two new companies API's for