0.0
No commit activity in last 3 years
No release in over 3 years
Respond to all requests on a port by returning a specified JSON file
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 1.3.6
~> 1.6.3
 Project Readme

simple_respond

A Ruby gem for providing a web server with a simple, configurable response to all requests.

simple_respond is made to the easiest way to have a stubbed-out web service that will only return a given JSON response. ALL requests, no matter what additional params, directories, etc., will always return the response in the given file.

Example:

gem install simple_respond
echo "{}" > response.json
simple_respond 3000 response.json