README.md in instasent-0.1.3 vs README.md in instasent-0.1.4

- old
+ new

@@ -16,25 +16,40 @@ gem 'instasent' ``` ## Example ### Send an SMS -You can check 'examples/send-sms.py' file. +You can check 'examples/send-sms.rb' file. ```ruby require 'instasent' client = Instasent::Client.new('my-token') -response = client.send_sms('Mi company', '+34666666666', 'test message') +response = client.send_sms('My company', '+34666666666', 'test message') puts response['response_code'] puts response['response_body'] ``` ## Available functions ``` +SMS client.send_sms(sender, to, text) client.get_sms(page, per_page) client.get_sms_by_id(message_id) + +VERIFY +client.request_verify(sender, to, text); // text must include %token% string +client.check_verify(id, token) +client.get_verify_by_id(id) +client.get_verify(page, per_page) + +LOOKUP +client.do_lookup(to) +client.get_lookup_by_id(id) +client.get_lookups(page, per_page) + +ACCOUNT +client.get_account_balance() ``` ## Documentation Complete documentation at : [http://docs.instasent.com/](http://docs.instasent.com/). \ No newline at end of file