lib/messenger/web.rb in messenger-0.0.1 vs lib/messenger/web.rb in messenger-0.0.2

- old
+ new

@@ -2,9 +2,13 @@ module Messenger class Web + # URL format: + # http://example.com + # + # The body of the message is posted as the body of the request, not the query. def self.send(url, body, options={}) response = HTTParty.post(url, options.merge(:body => body)) [success?(response), response] end