Zenvia
TODO: Write a gem description
Installation
Add this line to your application's Gemfile:
gem 'zenvia'
And then execute:
$ bundle
Or install it yourself as:
$ gem install zenvia
Usage
Sending a message
sms = Zenvia::Sms.new 'number', 'message'
sms.send
Config
Zenvia.configure do |config|
config.account = ENV["ZENVIA_ACCOUNT"]
config.code = ENV["ZENVIA_CODE"]
end
Contributing
- Fork it ( https://github.com/parafuzo/zenvia/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Azk
Install azk
Bundle Install
azk shell -c "bundle install --binstubs --path /azk/bundler"
Test
azk shell -c "bundle exec rspec"