vigetlabs / gangway

A client-side API abstraction layer
MIT License
13 stars 1 forks source link

`mock` property should accept a function #13

Closed nhunzaker closed 9 years ago

nhunzaker commented 9 years ago

It would be great if the signature were:

{
  mock: function(options) {
    // options => { baseURL, body, path, etc...}
  }
}
nhunzaker commented 9 years ago

Got it!