Skip to content
This repository has been archived by the owner on Jul 16, 2020. It is now read-only.

parafuzo/zenvia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zenvia

Gem Version

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

  1. Fork it ( https://github.com/parafuzo/zenvia/fork )
  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 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"

Releases

No releases published

Packages

No packages published