Socket
Book a DemoInstallSign in
Socket

globelabs_sms_logger

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

globelabs_sms_logger

0.0.2
bundlerRubygems
Version published
Maintainers
1
Created
Source

Build Status Test Coverage Maintainability

Globe Labs Sms Logger

It's a simple logger which consumes the Globelabs SMS Dashboard API(See Globelabs SMS Dasbhoard).

Requirements

Ruby 2.x.x

Installation

Add this line to your application's Gemfile:

gem 'globelabs_sms_logger'

And then execute:

$ bundle

Or install it yourself as:

$ gem install globelabs_sms_logger

Then generate initializer:

$ rails g globelabs_sms_logger:install initializer

then edit the file config/initializers/globelabs_sms_logger.rb

Usage

Construct a GlobelabsSms::Logger object and use the #send method to send a request to Globelabs Dashboard. Example:

require 'globelabs_sms_logger'

logger = GlobelabsSms::Logger.new
logger.send(address: '917XXXXXXX', content: 'Cheers!')

# You can also speicfy the api_token & app_identifier as args
# Example:
logger = GlobelabsSms::Logger.new(api_token: 'zxvcjeyxi1j1smplsmple', identifier: 'TST')
logger.send(address: '917XXXXXXX', content: 'Hello!')

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/denmarkmeralpis/globelabs_sms_logger. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

Code of Conduct

Everyone interacting in the GlobelabsSmsLogger project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

FAQs

Package last updated on 12 Jan 2019

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.