Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pjit-sms_api

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pjit-sms_api

  • 0.1.3
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

SmsApi

Installation

Add this line to your application's Gemfile:

gem 'pjit-sms_api'

And then execute:

$ bundle

Or install it yourself as:

$ gem install pjit-sms_api

Usage

First of all you need to set environment variables:

  • SMSAPI_USERNAME with smsapi.pl username
  • SMSAPI_MD5 with MD5 of smsapi.pl password

If you want to use gem in test mode, you net to set SMSAPI_TEST environment variable to 1

Then you can use by passing SmsApi.send('[phone number]', '[message]')

For account status you can use SmsApi.status In case you need specified value you can use as follows:

  • SmsApi.status['points'] - for points count
  • SmsApi.status['proCount'] - for pro messages count
  • SmsApi.status['ecoCount'] - for default messages count
  • SmsApi.status['mmsCount'] - for MMS count

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/pj-it/sms_api.

License

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

FAQs

Package last updated on 24 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc