Project

prowl

0.03
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Wrapprer for prowl, http://prowl.weks.net/.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Prowl

Ruby wrapper for Prowl.

About

Prowl rocks! It's a webapp and a iPhone app that works
together and lets you send push notifications via HTTP
to any iPhone that has the prowl app installed.

Prowl.add(
  :apikey => "api key abc123def456",
  :application => "World Saving Project Manager",
  :event => "Canceled",
  :description => "It sucked, so I canceled it. Sorry :("
)

The user has given you its API key. That lets you
send push notifications to the users iPhone, through
the Prowl iPhone app.

Installation

gem install prowl

Code available here.

Notice

Prowl.send has been renamed to Prowl.add.

Usage

Four required parameters:

  • apikey (String / Array< String >)
  • application (String)
  • event (String)
  • description (String)

You can use Prowl.add, or create instances of Prowl manually.

Prowl.add(:apikey => "123abc", :application => "Foo", ...)
Prowl.verify("apikey")

p = Prowl.new(:apikey => "apikey123abc", :application => "FooApp")
p.valid?
p.add(:event => "It's valid", ...)