Sha256: a786bacb394b354cc75fd14c461ca93f68b8761558d94271f46e8d88355f3d3e

Contents?: true

Size: 1.28 KB

Versions: 9

Compression:

Stored size: 1.28 KB

Contents

module AngellistApi
  class Client
    # Defines methods related to URLs
    module StartupRoles      
      # 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 team_member, past_investor, advisor and referrer. Roles are paginated and ordered by most recently declared first.
      # @requires_authentication Optional
      # @response_format `json`
      # @param options [Hash] A customizable set of options.
      # @option options [Integer] :user_id The user who's startup relationships you want to view. 
      # @option options [Integer] :startup_id  The startup who's user relationships you want to view. 
      # @example 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 team_member, past_investor, advisor and referrer. Roles are paginated and ordered by most recently declared first.
      #   AngellistApi.get_startup_roles
      def get_startup_roles(options={})
        get("/startup_roles", options, :format => :json, :phoenix => true)
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
angellist_api-0.0.9 lib/angellist_api/client/startup_roles.rb
angellist_api-0.0.8 lib/angellist_api/client/startup_roles.rb
angellist_api-0.0.7 lib/angellist_api/client/startup_roles.rb
angellist_api-0.0.6 lib/angellist_api/client/startup_roles.rb
angellist_api-0.0.5 lib/angellist_api/client/startup_roles.rb
angellist_api-0.0.4 lib/angellist_api/client/startup_roles.rb
angellist_api-0.0.3 lib/angellist_api/client/startup_roles.rb
angellist_api-0.0.2 lib/angellist_api/client/startup_roles.rb
angellist_api-0.0.1 lib/angellist_api/client/startup_roles.rb