New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

startmobile_sms

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

startmobile_sms

  • 0.0.3
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

= StartmobileSms

The easy way to send and check a single sms with startmobile.com.ua provider.

== Install

gem 'startmobile_sms'

== Configure

StartmobileSms.setup do |config| config.login = 'login' config.password = 'password' config.out_number = 'out_number' end

== Usage

Send single sms (out_number is optional)

sms_id = StartmobileSms.send(:phone => '30971234567', :text => 'Hello!', :out_number => 'service_name')

Check sms delivery status

StartmobileSms.check(sms_id)

Or use instance object

sms = StartmobileSms::Message.new(:phone => '30971234567', :text => 'Hello!')

sms.phone # 30971234567 sms.text # Hello! sms.send # send sms to server sms.id # response id

sms.status # check sms status (Accepted, Enroute, Delivered, Expired, Deleted, Undeliverable, Rejected, Unknown)

== Wiki

{Startmobile service API}[https://github.com/superp/startmobile_sms/wiki/Startmobile-service-API]

FAQs

Package last updated on 24 Jan 2012

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