Skip to content

TotenDev/Kiwi-LibRuby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kiwi

Ruby Gem to send a messages to Kiwi

A special thanks to Peter Cooper for this great gist that helped me a lot!

Build Status

Requirements

  • Ruby ~> 1.9.2
  • LibC

Installation

Add this line to your application's Gemfile:

gem 'tdev_kiwi'

And then execute:

$ bundle

Or install it yourself as:

$ gem install tdev_kiwi

Usage

require 'tdev_kiwi'

message = TotenDev::Message.new
message.worker = '<PATH_TO_WORKER>'
message.args = '<ARGUMENTS>'

queue = TotenDev::Kiwi.new <KEY_ID>
queue.queue_id = '<QUEUE_ID>'
queue.send message

To learn more about this parameters please read How it works.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

MIT

About

Ruby gem to send messages with Kiwi

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages