mix sims.gen.http_basic (sims v0.2.0)

Copy Markdown View Source

Generates a basic HTTP simulator

Generate the boilerplate for a basic HTTP simulator.

Example

mix sims.gen.http_basic PaymentGateway

Options

  • --include-tests - Generate tests for this simulator
  • --include-response-stubs - Generate helpers for stubbing responses like internal server errors
  • --no-include-app-config - Skip generating the app config modules and SimulatorHelpers module for pointing switching the app to talk to the simulator