FakeService
Fake service for reqres. It takes generated file by reqres, define actions and runs server.
Installation
Add this line to your application's Gemfile:
gem 'fake_service'
And then execute:
$ bundle
Or install it yourself as:
$ gem install fake_service
Usage
$ fake_service path/to/file
fake_service behaves like Rack::Server and can accept different options:
$ fake_service path/to/file -D -p 4567 -P path/to/pid
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request