Skip to content

Instantly share code, notes, and snippets.

@xrd
Created May 27, 2016 22:25
Show Gist options
  • Save xrd/3a11037c3ea9dd69904550875086be92 to your computer and use it in GitHub Desktop.
Save xrd/3a11037c3ea9dd69904550875086be92 to your computer and use it in GitHub Desktop.
require 'sinatra'
require 'sinatra/json'
set :bind, "0.0.0.0"
set :port, 8080
response =
{
"Java" => "off",
"Ruby" => "off",
"initialized" => true
}
get '/hubot/status' do
json response
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment