Project

telcosms

0.0
Low commit activity in last 3 years
A long-lived project that still receives updates
A Ruby gem to connect your application with the TelcoSMS API's (http://telcosms.co.ao) to allow your application to send sms through Angolan numbers
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.3.14
~> 13.0.6

Runtime

~> 2.9.0
 Project Readme

TelcoSMS

A ruby gem created by Sergio Maziano for the TelcoSMS API that allows your application to send sms to Angolan Numbers.

Installation

Add this line to your application's Gemfile:

gem 'telcosms'

And then execute:

$ bundle

Or install it yourself as:

$ gem install telcosms

Setup

Make sure you have access to your username and password (can be requested to the TelcoSMS team) and setup as your environment variables.

Environment variables

Env Variable Value
TELCOSMS_USERNAME The username provided by TelcoSMS
TELCOSMS_PASSWORD The password provided by TelcoSMS

Usage

You need to pass 3 arguments to make it work (number, message, service).

telco = Telcosms.new
telco.send(number: '+244923456789', message: 'Hello World\nNext line', service: 'TelcoSMS')

Schema

field type notes
number string number with or without a country code
message string the message content
service string sender identifier

Help and Docs

Development

  • You can fork it
  • bundle
  • bundle rake exec
  • Make your feature addition or fix a bug
  • Do not mess with the rakefile version or history (do not submit version bump PLEASE or put it in a different commit so we can ignore it when pull)
  • Send us the pull request

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/smaziano/telcosms. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.