dcparker / Amazon-SNS-Ruby

Ruby gem for the new Amazon SNS service

Home Page:http://cheeyeo.github.com/Amazon-SNS-Ruby

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Amazon SNS gem

Introduction

A Ruby gem for use with the Amazon Simple Notification service (http://aws.amazon.com/sns/).

Usage

AmazeSNS.skey = 'your amazon aws secret key' AmazeSNS.akey = 'your amazon aws access key'

AmazeSNS['your_topic_name'] # creates a new Topic Object but not yet published AmazeSNS['your_topic_name'].create # add new topic to local hash and to SNS AmazeSNS['your_topic_name'].delete # removes it from both SNS and local hash

AmazeSNS.logger = my_logger # set a logger for the response

Dependencies

Require the CrackXML gem for parsing XML responses back from SNS and also EventMachine and EM-Http request gem

Copyright

Copyright (c) 2010 29 Steps UK. See LICENSE for details.

About

Ruby gem for the new Amazon SNS service

http://cheeyeo.github.com/Amazon-SNS-Ruby