Class: AngelList::Message
- Inherits:
-
Base
- Object
- Base
- AngelList::Message
show all
- Defined in:
- lib/angel_list/message.rb
Instance Attribute Summary
Attributes inherited from Base
#auth
Instance Method Summary
collapse
Methods inherited from Base
#delete, #get, #initialize, #parse, #post
Instance Method Details
#all(view = :inbox) ⇒ Object
11
12
13
|
# File 'lib/angel_list/message.rb', line 11
def all(view=:inbox)
get('https://api.angel.co/1/messages', {:view => view})
end
|
#new(options) ⇒ Object
3
4
5
|
# File 'lib/angel_list/message.rb', line 3
def new(options)
post('https://api.angel.co/1/paths', options)
end
|
#thread(thread_id) ⇒ Object
7
8
9
|
# File 'lib/angel_list/message.rb', line 7
def thread(thread_id)
get('https://api.angel.co/1/messages/'+thread_id.to_s)
end
|