ruby-sendhub

ruby-sendhub is a simple API wrapper for interacting with SendHub API

Installation

    $ gem install ruby-sendhub

Requirements

A SendHub account. Get your API key here

Usage

Currently, only two methods are implemented as this is my first Gem ever. Woohoo! "cries"

Create a new instance of the API wrapper:

    sh = SendHub.new("your_api_key", "your_number")

Now you grab the contacts you have. You need the contact id to send any message

    sh.get_contacts

Once you grabbed the contacts you can send messages to the contact(s) by

    sh.send_message("Your message here", *id)

Special Thanks

  • My mom and dad, seriously, first gem you know
  • Amro Mousa for his source code on Gibbon which inspired this code

License

No time for this, just do whatever you want