Socket
Book a DemoInstallSign in
Socket

boxcar_api

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

boxcar_api

1.2.0
bundlerRubygems
Version published
Maintainers
1
Created
Source

boxcar_api

Release Notes

Version 1.2

Updated to support new API features.

The Boxcar API Gem

boxcar_api is an easy way to add Boxcar notifications to your application.

Getting Started

First, you'll need to create a provider here. We'll give you a provider key and a provider secret. Once you have those, you can get started:

provider = BoxcarAPI::Provider.new('your_key', 'your_secret')

Subscribe a Boxcar user to your service:

provider.subscribe "user@example.com"

Then send that user a notification:

provider.notify("user@example.com", "Your product has shipped!")

You can also send a group of users a notification:

users = ["user1@example.com", "user2@example.com"]
provider.batch_notify(users, "Your account has been upgraded.")

Or reach all of your subscribers with a broadcast:

provider.broadcast "Maintenance has begun. We expect to be back up 15 minutes."

Want to know more? Check out our API docs and the examples for all the details.

Copyright (c) 2010 Boxcar. MIT Licensed.

FAQs

Package last updated on 28 Sep 2011

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.