Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.
/ megaphone Public archive

Stuff we use to notify the devs of updates to our apps

License

Notifications You must be signed in to change notification settings

medivo/megaphone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Megaphone

Megaphone is a gem for adding messages to the Campfire chat, sending messages to the OpsGenie API, interfacing with the StatHat API, and creating Tumbler tickets.

Installation

Add this line to your application's Gemfile:

gem 'megaphone'

And then execute:

$ bundle

Or install it yourself as:

$ gem install megaphone

Usage

Example use of Campfire:

args = {room_name: 'notifications', ssl: true, token: '[protected]'}
campfire = Megaphone::Campfire.new(args)
p campfire.session
p campfire.room
campfire.speak("Howdy")

Example use of TumblerTicket

t = Megaphone::TumblerTicket.new(application: "fake_application", deployer_name: "Frankie", rails_env: "development",
                      git_hash: "1234", uri: "http://localhost:3000/", tumbler_api_key: "[protected]")
t.make_post_request

About

Stuff we use to notify the devs of updates to our apps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages