Sha256: 261dc303159f318e2021e8e677a25699f6797494ea549bacba2447f211e06148
Contents?: true
Size: 1.18 KB
Versions: 4
Compression:
Stored size: 1.18 KB
Contents
module AngellistApi class Client # Defines methods related to URLs # # @see http://angel.co/api/spec/activity_feeds module ActivityFeeds # Returns site activity. If authenticated and the personalized parameter # is passed in, only activity from the authenticated user's social graph # is returned. No more than 25 items will be returned. Results are # paginated and ordered by most recent story first. # # @requires_authentication Optional # # @param options [Hash] A customizable set of options. # @option options [Integer] :personalized If set to 1 and a user is # authenticated, only activity from the authenticated user's social graph # is returned. # # @example # AngellistApi.get_feed def get_feed(options={}) get("1/feed", options) end # Returns a specific activity feed item. # # @requires_authentication No # # @param id [String] String ID of the feed item to retrieve. # # @example Get a feed item. # AngellistApi.feed_item('8fCC3') def feed_item(id) get("1/feed/#{id}") end end end end
Version data entries
4 entries across 4 versions & 1 rubygems