Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Ruby client for Hydna
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
LICENSE
README.md
example.rb
hydna.gemspec

README.md

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
Something went wrong with that request. Please try again.