README.md in locasms-0.1.7 vs README.md in locasms-0.2.0
- old
+ new
@@ -1,11 +1,11 @@
# locasms
[![Gem Version](https://badge.fury.io/rb/locasms.svg)](http://badge.fury.io/rb/locasms) [![Build Status](https://travis-ci.org/mcorp/locasms.png?branch=master)](https://travis-ci.org/mcorp/locasms) [![Dependency Status](https://gemnasium.com/mcorp/locasms.png)](https://gemnasium.com/mcorp/locasms) [![Code Climate](https://codeclimate.com/github/mcorp/locasms.png)](https://codeclimate.com/github/mcorp/locasms) [![Inline docs](http://inch-ci.org/github/mcorp/locasms.svg?branch=master)](http://inch-ci.org/github/mcorp/locasms)
> :warning: After `March 29, 2016` the base IP of the service will change as noticed on this [issue](https://github.com/mcorp/locasms/issues/6). If you don't upgrade to version `0.1.7` your app will stop delivering SMS
-Client to consume [LocaSMS api's][0].
+Client to consume API's from [LocaSMS][0] and its Short Code SMS version [SMS Plataforma][1].
## Installation
Add this line to your application's Gemfile:
@@ -24,12 +24,16 @@
Simple example:
```ruby
require 'locasms'
+# Default:
cli = LocaSMS::Client.new 'LOGIN', 'PASSWORD'
+# Short Code:
+cli = LocaSMS::Client.new 'LOGIN', 'PASSWORD', type: :shortcode
+
# delivering message to one mobile
cli.deliver 'my message', '1155559999'
# delivering the same message to multiple mobliles at once
cli.deliver 'my message', '1199998888,5500002222'
@@ -65,6 +69,7 @@
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request
-[0]: http://locasms.com.br/#page_2/
+[0]: http://locasms.com.br
+[1]: http://smsplataforma.com.br