Module: Yammer::Client::Messages
- Included in:
- Yammer::Client
- Defined in:
- lib/yammer/client/messages.rb
Overview
Defines methods related to manipulating messages
Instance Method Summary collapse
-
#update(message, options = {}) ⇒ Hashie::Mash
Creates a new message from the authenticating user.
Instance Method Details
#update(message, options = {}) ⇒ Hashie::Mash
Note:
A status update with text identical to the authenticating user's current status will be ignored to prevent duplicates.
Creates a new message from the authenticating user
23 24 25 26 |
# File 'lib/yammer/client/messages.rb', line 23 def update(, ={}) response = post('messages', .merge(:body => )) format.to_s.downcase == 'xml' ? response['response']['messages'] : response end |