README.rdoc in textmagic-0.3.1 vs README.rdoc in textmagic-0.3.2

- old
+ new

@@ -92,12 +92,13 @@ statuses['173205'].created_time # => Thu May 28 16:41:45 +0200 2009 See TextMagic::API.message_status for more information on +message_status+ method. -<b>It is strongly encouraged to setup callbacks to receive updates on message status -instead of using this method.</b> +<b>It is strongly recommended to setup callbacks to receive updates on message status +instead of using this method. Learn more about callbacks at +{TextMagic API}[http://api.textmagic.com/https-api] site</b> === Receiving replies To receive all available replies, run: @@ -106,30 +107,43 @@ replies.first.text # => 'Hello Fred!' replies.last.from # => '999314159265' replies.last.message_id - # => '223606' + # => '178082' To prevent receiving old replies again, supply +last_retrieved_id+ argument: api.receive('178082') # => [] See TextMagic::API.receive for more information on +message_status+ method. -<b>It is strongly encouraged to setup callbacks to receive replies instead of -using this method.</b> +<b>It is strongly recommended to setup callbacks to receive replies instead of +using this method. Learn more about callbacks at +{TextMagic API}[http://api.textmagic.com/https-api] site</b> === Deleting retrieved replies After you retrieve replies, you can delete them from server by running: api.delete_reply '141421', '178082' # => true See TextMagic::API.delete_reply for more information on +message_status+ method. + +== Command-line utility + +The +textmagic+ gem also features a handy command-line utility. It gives you access +to all of the gem's features. Run + + tm + +from your console to see help on its usage. + +<i>Note: This has only been tested on a Mac. If you have any troubles using this +utility, contact the author (or submit a patch).</i> == Copyright Copyright (c) 2009 Vladimír Bobeš Tužinský. See LICENSE for details.