Project

hydna

0.0
No commit activity in last 3 years
No release in over 3 years
Hydna exposes a straightforward API over HTTP. It uses a single resource; sending messages is done by making POST requests to the same URI you'd use to connect to Hydna in any client library.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Hydna Ruby Client Library

This first version of our client library for Ruby implements support for the Hydna Push API. Future versions will include support for the full set of features.

More info: https://www.hydna.com/

Installation

gem install hydna

Usage

The hydna-module exposes two functions:

require 'hydna'

begin
  # sending messages
  Hydna.push("http://public.hydna.net/hello", "Hello World")

  # sending signals
  Hydna.emit("http://public.hydna.net/hello", "Hello World") 

rescue Exception => e
  puts e.message
end