Sha256: 126b18515368cc82285cb724147a625da7f899fb23dd12940adf93f0ef20726a

Contents?: true

Size: 924 Bytes

Versions: 9

Compression:

Stored size: 924 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("/reviews", 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/reviews.rb
angellist_api-0.0.8 lib/angellist_api/client/reviews.rb
angellist_api-0.0.7 lib/angellist_api/client/reviews.rb
angellist_api-0.0.6 lib/angellist_api/client/reviews.rb
angellist_api-0.0.5 lib/angellist_api/client/reviews.rb
angellist_api-0.0.4 lib/angellist_api/client/reviews.rb
angellist_api-0.0.3 lib/angellist_api/client/reviews.rb
angellist_api-0.0.2 lib/angellist_api/client/reviews.rb
angellist_api-0.0.1 lib/angellist_api/client/reviews.rb