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

multiinfo

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

multiinfo

  • 0.0.11
  • Rubygems
  • Socket score

Version published
Maintainers
2
Created
Source

= Polkomtel MultiInfo HTTPS API wrapped into Ruby library

This gem is Ruby interface to the Polkomtel's MultiInfo SMS gateway service, based on Luke Redpath's clickatel library To use this gem, you will need an access to Polkomtel's MultiInfo service. You need user, password, sercvice_id and certificate for ssl connection. Contact Polkomtel sales reps for info how to obtain acces to MultiInfo service.

== Basic Usage

You will need your Mutliinfo credentials and SSL certificate to use this library.

require 'rubygems' require 'multiinfo'

api = MultiInfo::API.new

Example api calls

api.send_message('48661351024', 'Hello') # sends sms 'Hello' to 48 661 351 024 and returns message id api.message_info('22') # gets info about message with id 22

== Conifguration options

Default path for config file and certificate files is $HOME/multiinfo. You should place following files in that directory: multiinfo.yml # config file multiinfo.crt # certificate multiinfo.pem # RSA key

In multiinfo.yml you should specify at least: login password service_id

If you want to use different names for certificate files speciify them with FULL PATH in config file under:

client_cert client_key

You will probably also need to add Multiinfo Root Certificate to your trusted certificates chain. To mark a certificate as trusted, specify it in your multiinfo.yml file (you can provide either a filename or a directory). You can also use 'default' to let the application use the default certificates path.

See example in config_example.yml

To load your custom config file use following code require 'rubygems' require 'multiinfo'

config = MultiInfo::API.load_auth_options(CONFIG_FILE_FULL_PATH) api = MultiInfo::API.new(config)

FAQs

Package last updated on 26 Jun 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