README.md in zenvia-rb-0.0.10 vs README.md in zenvia-rb-0.0.11
- old
+ new
@@ -3,11 +3,11 @@
## Installation
Add this line to your application's Gemfile:
```ruby
-gem 'zenvia-rb', '~> 0.0.10'
+gem 'zenvia-rb', '~> 0.0.11'
```
And then execute:
$ bundle
@@ -35,15 +35,15 @@
# if you do not want to identify the sender, use from = ''
# number = area code + number / there's no need to put 55 before them
# AND format the number (i.e. remove parentheses, dashes...)
# message = body of the message
-Zenvia.send_message(from = config.from, number, message)
+Zenvia.send_message(number, message, from = config.from)
# alternatively, you can set number parameter equal to an array of numbers
# and send the same message to them
numbers = ['DDNNNNNNNNN', 'DDNNNNNNNNM']
-Zenvia.send_message(from = config.from, numbers, message)
+Zenvia.send_message(numbers, message, from = config.from)
```
That's all ;)