Project

wesender

0.0
No release in over 3 years
Low commit activity in last 3 years
Wesender - RubyOnRails application integration library
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.0
~> 10.0
~> 3.5

Runtime

~> 0.13.7
 Project Readme

Wesender - RubyOnRails application integration library

Installation

Oficial doc. Add this line to your application's Gemfile:

gem 'wesender'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install wesender

Setup and Usage

Make sure you setup the environment variables WESENDER_API_KEY:

WESENDER_API_KEY='your_api_key' 
our
WesenderSMS.new(api_key)

test = WesenderSMS.new

numbers: Array
message: String
hasSpecialCharacter: Boolean // opcional, by default is false

test.send(numbers, message, hasSpecialCharacter)
Eg: test.send(["913000111"], "Hello Angola")
# response
{
 "Exito" : Boolean ,
 "Mensagem" : String,
 "Objeto" :
   {
     // quantity of message that you can send
     "SMS" : Number,
     "WhatsApp" : Number,
     "FacebookMesseger" : Number,
     "Integracoes" : Number,
   }
}

License

MIT License.

Author

JM Cabanga.