Pacto will disable live connections, so you will get an error if
your code unexpectedly calls an service that was not stubbed. If you
want to re-enable connections, run WebMock.allow_net_connect!
Pacto can be configured via a block:
Path for loading/storing contracts.
If the request matching should be strict (especially regarding HTTP Headers).
You can set the Ruby Logger used by Pacto.
(Deprecated) You can specify a callback for post-processing responses. Note that only one hook can be active, and specifying your own will disable ERB post-processing.
Options to pass to the json-schema-generator while generating contracts.
You can also do inline configuration. This example tells the json-schema-generator to store default values in the schema.
If you're using Pacto's rspec matchers you might want to configure a reset between each scenario
Just require pacto to add it to your project.