Cardwall Alerts

SYNOPSIS

Red Alert makes it easier to post alerts to the cardwall

USAGE

Create a gateway to the cardwall with credentials for an account that has access to all the projects that you want to post alerts to.

require 'redalert'

alert_gateway = CardWall::Alerts::Gateway.new(username, password)

Then get posting.

alert_gateway.post("Project name", "Alert title", "This is the body of the alert")

To post files.

alert_gateway.post("Project name", "Alert title", "This is the body of the alert", :file_name => "some_name.csv", :file_body => "Yabadabadoo")

REQUIREMENTS

You need these gems installed:

- openssl
- rest-client
- multipart-post

INSTALL

sudo gem install redalert-0.0.1.gem