Socket
Book a DemoInstallSign in
Socket

tsms

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tsms

0.1.3
bundlerRubygems
Version published
Maintainers
2
Created
Source

ruby-transmitsms

Ruby gem to easily access TransmitSMS RESTful APIs

Gem Version

Sample Usage

require 'ruby-transmitsms'

# Create new Sms instance using API key and secret
sms = SmsApi.new("15eg266c832fb23c4d90f01055aef355", "bluebird")

# Send a message
response = sms.send("Hello, world", "61455123456")

# Show the result
puts response.code
puts response.body

Installation

gem install ruby-transmitsms

Installation with bundler's Gemfile

gem "ruby-transmitsms"

Development

To install the required gems:

$ ./setup.sh

To run the tests:

$ ./runtest.sh

API

SmsApi

Instance method parameter documentation: SmsApi Method Params Doc

  • send
  • format_number
  • get_sms
  • get_sms_responses
  • get_user_sms_responses
  • get_sms_sent
  • cancel_sms

ListsApi

Instance method parameter documentation: ListsApi Method Params Doc

  • remove_list
  • get_list
  • get_lists
  • add_list
  • add_to_list
  • delete_from_list
  • optout_list_member
  • edit_list_member

NumbersApi

Instance method parameter documentation: NumbersApi Method Params Doc

  • get_number
  • get_numbers
  • lease_number

EmailApi

Instance method parameter documentation: EmailApi Method Params Doc

  • add_email
  • delete_email

KeywordsApi

Instance method parameter documentation: KeywordsApi Method Params Doc

  • add_keyword
  • edit_keyword
  • get_keywords

ResellersApi

Instance method parameter documentation: ResellersApi Method Params Doc

  • get_client
  • get_clients
  • add_client
  • edit_client
  • get_transactions
  • get_transaction

AccountApi

Instance method parameter documentation: AccountApi Method Params Doc

  • get_balance

FAQs

Package last updated on 22 Nov 2022

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.