Sha256: 34fb6034d2c00c5fa4e951b05ad71969a321159f3d852629da622123b12bf3e8

Contents?: true

Size: 1.76 KB

Versions: 6

Compression:

Stored size: 1.76 KB

Contents

Prowler
=======

This is a plugin for integrating apps with the Prowl iPhone application.

INSTALLATION

From your project's RAILS_ROOT, run:

  script/plugin install git://github.com/pixeltrix/prowler.git

CONFIGURATION

You should have something like this in config/initializers/prowler.rb.

  Prowler.configure do |config|
    config.api_key = 'ffffffffffffffffffffffffffffffffffffffff'
    config.application = 'www.example.com'
  end

You can test that Prowler is working in your production environment by using
this rake task (from RAILS_ROOT):

  rake prowler:test

If everything is configured properly the task will send a request to
prowl.weks.net which will be appear on your iPhone after a short delay.

USAGE

To use Prowler within your application just call the notify method, e.g.

  Prowler.notify "Event", "Description", Prowler::Priority::NORMAL

If you need to send to multiple accounts from within a single application you
can create an instance of the Prowler class to override the global settings, e.g.

  prowler = Prowler.new('apikey', 'application')
  prowler.notify "Event", "Description", Prowler::Priority::NORMAL

If performance is a concern then there is built in support for Delayed::Job.
This can done either on a global basis, e.g.

  Prowler.configure do |config|
    config.delayed = true
  end

or on a individual message basis, e.g.

  Prowler.notify "Event", "Description", Prowler::Priority::NORMAL, true

ABOUT

Prowler relies upon the Prowl iPhone application which is advertised as
a Growl notification forwarder from your Mac. However they provide an API
which can be called by a generic script which allows you to use the
application as a general push notification application for your iPhone.

For more about the Prowl application see: http://prowl.weks.net/

Version data entries

6 entries across 3 versions & 2 rubygems

Version Path
pixeltrix-prowler-1.1.0 INSTALL
pixeltrix-prowler-1.1.0 README
pixeltrix-prowler-1.1.1 INSTALL
pixeltrix-prowler-1.1.1 README
prowler-1.1.1 INSTALL
prowler-1.1.1 README