DuckRails is a development tool. Its main purpose is to allow developers to quickly mock API endpoints that for many possible reasons they can't reach at a specific time. The application allows creating new routes dynamically to which developers can assign static or dynamic responses. DuckRails is an open source development tool built using the Ruby on Rails framework. The purpose of the tool is to allow developers to easily mock API endpoints outside their applications. Knowing ruby is not required. It would just help you define ruby dynamic mocks easier (embedded ruby). No worries, you can still define dynamic responses by selecting Javascript as the mock’s body type. Instead of defining a mock to always respond with some static content, you can also configure it to dynamically resolve the content to serve. For example, you can access the original request’s parameters and headers and decide how you could respond.
Features
- Knowing ruby is not required
- You can access the original request’s parameters and headers
- You can mock the new endpoints and set your application to consume DuckRails endpoints
- Develop a new feature in your web application
- Built using the Ruby on Rails framework
- Easily mock API endpoints outside their applications