Module: AngellistApi::Client::StartupRoles
- Included in:
- AngellistApi::Client
- Defined in:
- lib/angellist_api/client/startup_roles.rb
Overview
Defines methods related to URLs
Instance Method Summary collapse
-
#get_startup_roles(options = {}) ⇒ Object
deprecated
Deprecated.
Given a startup_id, returns the users involved in that startup. Given a user_id, returns the startups that user is involved in. If neither parameter is given, the authenticated user is used. Possible roles include founder, employee, past_investor, current_investor, advisor, incubator and referrer. Roles are paginated and ordered by most recently declared first.
Instance Method Details
#get_startup_roles(options = {}) ⇒ Object
Given a startup_id, returns the users involved in that startup. Given a user_id, returns the startups that user is involved in. If neither parameter is given, the authenticated user is used. Possible roles include founder, employee, past_investor, current_investor, advisor, incubator and referrer. Roles are paginated and ordered by most recently declared first.
When called with a :v => 1 parameter:
Given a user_id, returns the companies that User is tagged in. Given a startup_id, returns either the users and companies tagged in the given Startup (if direction is incoming) or the companies which the given Startup is tagged in (if direction is outgoing). If neither parameter is given, the authenticated user is used. Possible roles include founder, employee, past_investor, current_investor, advisor, incubator and referrer. Roles are paginated and ordered by most recently declared first.
45 46 47 |
# File 'lib/angellist_api/client/startup_roles.rb', line 45 def get_startup_roles(={}) get("1/startup_roles", ) end |