Class: AngelList::Feed

Inherits:
Base
  • Object
show all
Defined in:
lib/angel_list/feed.rb

Instance Attribute Summary

Attributes inherited from Base

#auth

Instance Method Summary collapse

Methods inherited from Base

#delete, #get, #initialize, #parse, #post

Constructor Details

This class inherits a constructor from AngelList::Base

Instance Method Details

#all(options = {}) ⇒ Object



3
4
5
# File 'lib/angel_list/feed.rb', line 3

def all(options={})
  get('https://api.angel.co/1/feed', options)
end

#find(id, options = {}) ⇒ Object



7
8
9
# File 'lib/angel_list/feed.rb', line 7

def find(id, options={})
  get('https://api.angel.co/1/feed/'+id.to_s, options)
end