method
respond_to
v2.1.0 -
Show latest stable
- Class:
ActiveResource::HttpMock
respond_to(pairs = {})public
Accepts a block which declares a set of requests and responses for the HttpMock to respond to. See the main ActiveResource::HttpMock description for a more detailed explanation.