wrap (data, opts) {
    return this.createRecord(data, opts)
  }
Method used to wrap data returned by an adapter with this Mapper's
{@link Mapper#recordClass}. This method is used by all of a Mapper's CRUD
methods. The provided implementation of this method assumes that the `data`
passed to it is a record or records that need to be wrapped with
{@link Mapper#createRecord}. Override with care.

Provided implementation of {@link Mapper#wrap}:

```
function (data, opts) {
  return this.createRecord(data, opts);
}
```

@example
const PostMapper = new Mapper({
  name: 'post',
  // Override to customize behavior
  wrap (data, opts) {
    const originalWrap = this.constructor.prototype.wrap;
    // Let's say "GET /post" doesn't return JSON quite like JSData expects,
    // but the actual post records are nested under a "posts" field. So,
    // we override Mapper#wrap to handle this special case.
    if (opts.op === 'findAll') {
      return originalWrap.call(this, data.posts, opts);
    }
    // Otherwise perform original behavior
    return originalWrap.call(this, data, opts);
  }
});

@method Mapper#wrap
@param {Object|Object[]} data The record or records to be wrapped.
@param {object} [opts] Configuration options. Passed to {@link Mapper#createRecord}.
@returns {Record|Record[]} The wrapped record or records.
@since 3.0.0