You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

ruby_sms

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ruby_sms

1.0.3
bundlerRubygems
Version published
Maintainers
1
Created
Source

ruby_sms

simple way to send sms using sms77 or any other short message api provider
A Ruby client library for [Sms77][more to come].

You will need a valid account with an api key to access the api endpoints

Getting started

To install ruby_sms, run the following command:

  gem install ruby_sms

Or if you are using bundler, add

  gem 'ruby-sms', '~>1.0'

to your Gemfile, and run bundle install

require "ruby_sms"
sms = RubySms.new(api_key: "1234123", user: "user@email.com")
response = sms.send(message: "your message", to: "+49178223", delay: false)
if response.success? 
  puts "Sms deliverd " 
else
  puts response.errors
end

FAQs

Package last updated on 01 Aug 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