0.0
No release in over a year
A ruby library for the HostedHooks API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

 Project Readme

HostedHooks Ruby Gem

A Ruby library for HostedHooks, a Webhooks as a Service Platform

Installation

Add this line to your application's Gemfile:

gem 'hostedhooks'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install hostedhooks

How it works

Authentication

Initialize the gem with your API key that is found here

 client = HostedHooks::Client.new('API_KEY')

Get one record

client.get_endpoint("endpoint_uuid")

Get a collection of records

client.list_subscriptions("app_uuid")

Create a record

client.create_app(name: "Test App Name")

Update a record

client.update_app("app_uuid", name: "Test App Name")

Resources

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/HostedHooks/hostedhooks-ruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

Code of Conduct

Everyone interacting in the Hostedhooks::Ruby project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

License

The gem is available as open source under the terms of the MIT License.