Socket
Book a DemoInstallSign in
Socket

mote_sms

Package Overview
Dependencies
Maintainers
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mote_sms

2.0.0
bundlerRubygems
Version published
Maintainers
3
Created
Source

MobileTechnics SMS API Client

Unofficial ruby adapter for MobileTechnics HTTP Bulk SMS API. Tries to mimick mail API, so users can switch e.g. ActionMailer with this SMS provider. Requires Ruby 3+.

Installation

Add this line to your application's Gemfile:

gem 'mote_sms'

And then execute:

$ bundle

Or install it yourself as:

$ gem install mote_sms

Usage

# Transport configuration
MoteSMS.transport = MoteSMS::MobileTechnicsTransport.new 'https://endpoint.com:1234', 'username', 'password'

# Create a message and deliver it
sms = MoteSMS::Message.new do
 to '+41 79 111 22 33'
 from 'ARUBYGEM'
 body 'Hello world, you know.'
end
sms.deliver_now # OR: deliver_later

TwilioTransport

Include the gem 'twilio-ruby in your Gemfile'

# Transport configuration
MoteSMS.transport = MoteSMS::TwilioTransport.new 'twilio sid', 'twilio token', 'from number'

Contributing

  • Fork it
  • Create your feature branch (git checkout -b my-new-feature)
  • Commit your changes (git commit -am 'Added some feature')
  • Push to the branch (git push origin my-new-feature)
  • Create new Pull Request

FAQs

Package last updated on 04 Dec 2023

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.