README.md in zenvia-rb-0.0.6 vs README.md in zenvia-rb-0.0.7
- old
+ new
@@ -3,18 +3,19 @@
## Installation
Add this line to your application's Gemfile:
```ruby
-gem 'zenvia-rb', '~> 0.0.6'
+gem 'zenvia-rb', '~> 0.0.7'
```
And then execute:
$ bundle
Or install it yourself as:
+
$ gem install zenvia-rb
HTTParty is the only dependency for this gem.
## Usage
@@ -28,17 +29,18 @@
config.account = account_given_by_zenvia
config.code = code_given_by_zenvia
config.from = user_or_enterprise_name # optional
}
-# from = personal or enterprise name. config.from will be used as default.
+# from = personal or enterprise name. config.from is used as default.
# if you do not want to identify the sender, use from = ''
-# number = area code + number
+# number = area code + number / there's no need to put 55 before them.
# message = body of the message
Zenvia.send_message(from = config.from, number, message)
-# alternatively, you can set number parameters equal to an array of numbers - and send the same message to them
+# 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)
```