Class: AngelList::StatusUpdate

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

#destroy(id) ⇒ Object



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

def destroy(id)
  delete('https://api.angel.co/1/status_updates/'+id.to_s)
end

#find(options) ⇒ Object



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

def find(options)
  get('https://api.angel.co/1/status_updates', options)
end

#new(options) ⇒ Object



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

def new(options)
  post('https://api.angel.co/1/status_updates', :params => options)
end