Skip to content

hydna/hydna-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages