Class: AngelList::Tag

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

#children(id) ⇒ Object



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

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

#find(id) ⇒ Object



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

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

#parents(id) ⇒ Object



11
12
13
# File 'lib/angel_list/tag.rb', line 11

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