README.md in yammer-client-0.1.6 vs README.md in yammer-client-0.1.7
- old
+ new
@@ -156,24 +156,24 @@
**Message**
*post a update as the current user*
```ruby
-yamr.create_message(:body => 'status update')
+yamr.create_message('status update')
#<Yammer::ApiResponse:0x007fb949434ec8 @headers=#<Net::HTTPOK 200 OK readbody=true>, @body="[JSON Response]", @code=200>
```
*send a private message to another Yammer user*
```ruby
-yamr.create_message(:body => 'private message', :direct_to_id => 24)
+yamr.create_message('private message', :direct_to_id => 24)
#<Yammer::ApiResponse:0x007fb949434ec8 @headers=#<Net::HTTPOK 200 OK readbody=true>, @body="[JSON Response]", @code=200>
```
*send a message with an Open Graph Object as an attachment*
```ruby
-yamr.create_message(:body => 'here is my open graph object', og_url: "https://www.yammer.com/example/graph/31415926")
+yamr.create_message('here is my open graph object', :og_url => "https://www.yammer.com/example/graph/31415926")
#<Yammer::ApiResponse:0x007fb949434ec8 @headers=#<Net::HTTPOK 200 OK readbody=true>, @body="[JSON Response]", @code=200>
```
**Search**