$ API_KEY="alksdjflajledslajfdslkk" irb
1.9.3p448 :001 > require 'json'; require 'hipchat'
1.9.3p448 :002 > h=HipChat::Client.new(ENV['API_KEY'], :api_version => 'v2')
1.9.3p448 :011 > h['CodeClimate'].send('kitt', 'Booking & Payments: Tim Snowhite just paid for a ride: <a href="http://example.com/rides/1"> LA Yellow#300 Ride#1</a>', :format => 'html')
Last active
January 2, 2016 02:49
-
-
Save tsnow/8239561 to your computer and use it in GitHub Desktop.
Using Hipchat for business event notifications
[email protected] ~> gem install hipchat
Fetching: hipchat-1.0.1.gem (100%)
Successfully installed hipchat-1.0.1
Parsing documentation for hipchat-1.0.1
Installing ri documentation for hipchat-1.0.1
Done installing documentation for hipchat after 0 seconds
1 gem installed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment