README.md in bearychat-0.1.1 vs README.md in bearychat-1.0.0

- old
+ new

@@ -18,17 +18,25 @@ $ gem install bearychat ## Usage -### Common +### Incoming Check bearychat [incoming API](https://github.com/bearyinnovative/bearychat-tutorial/blob/master/robots/incoming.md) ``` require 'bearychat' incoming = Bearychat.incoming('hook_uri') +incoming.send { text: '...', ... } +``` + +or + +``` +require 'bearychat' +incoming = Bearychat.incoming('hook_uri') incoming.text = "Willllll" incoming.markdown = true incoming.attachments << {"title"=>"Professor John Frink=>", "text"=>"Numbers are fun. ", "color"=>"#ffa500", "images"=>[{"url"=>"http://img3.douban.com/icon/ul15067564-30.jpg"}]} incoming.send @@ -66,6 +74,5 @@ ## License The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT). -