Sha256: 927bf560f0d11ac49232f529f9c79c61ee23b3c0d415d3427af2a24820852504

Contents?: true

Size: 925 Bytes

Versions: 4

Compression:

Stored size: 925 Bytes

Contents

module AngellistApi
  class Client
    # Defines methods related to URLs
    module Reviews
      # Return reviews for the given user. If no user given, the authenticated user is used. Reviews are paginated and ordered by most recent first. Also returns the total count of positive reviews.
      # @requires_authentication Optional
      # @response_format `json`
      # @param options [Hash] A customizable set of options.
      # @option options [Integer] :user_id user_id of the desired user. If none given, defaults to the authenticated user. 
      # @example Return reviews for the given user. If no user given, the authenticated user is used. Reviews are paginated and ordered by most recent first. Also returns the total count of positive reviews.
      #   AngellistApi.get_reviews
      def get_reviews(options={})
        get("1/reviews", options, :format => :json, :phoenix => true)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
angellist_api-1.0.1 lib/angellist_api/client/reviews.rb
angellist_api-0.1.2 lib/angellist_api/client/reviews.rb
angellist_api-1.0.0 lib/angellist_api/client/reviews.rb
angellist_api-0.1.0 lib/angellist_api/client/reviews.rb