Class: AngelList::Job

Inherits:
Base
  • Object
show all
Defined in:
lib/angel_list/job.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

#allObject



4
5
6
# File 'lib/angel_list/job.rb', line 4

def all
  get('https://api.angel.co/1/jobs')
end

#find(id) ⇒ Object



8
9
10
# File 'lib/angel_list/job.rb', line 8

def find(id)
  get('https://api.angel.co/1/jobs/'+id.to_s)
end

#startup(id) ⇒ Object



12
13
14
# File 'lib/angel_list/job.rb', line 12

def startup(id)
  get('https://api.angel.co/startups/'+id.to_s+'/jobs')
end

#tag(tag_id) ⇒ Object



16
17
18
# File 'lib/angel_list/job.rb', line 16

def tag(tag_id)
  get('https://api.angel.co/1/tags/'+tag_id.to_s+'/jobs')
end