anchor.diff:  
   [source,js]
   ----
  -global.XMLHttpRequest = require('xmlhttprequest').XMLHttpRequest;
  +global.XMLHttpRequest = require('xmlhttprequest').XMLHttpRequest
   ----
   
   == Usage
   
   [source,js]
   ----
  -const api = new RestClient('https://example.com');
  +const api = new RestClient('https://example.com')
   ----
   
   And here we go! First, let's define resources, using `res` method:
   
   [source,js]
   ----
  -api.res('cookies');         //it gets resource name and returns resource
  -api.res(['cows', 'bees']);  //or it gets array of resource names and returns array of resources
  +api.res('cookies')         //it gets resource name and returns resource
  +api.res(['cows', 'bees'])  //or it gets array of resource names and returns array of resources
   api.res({       //or it gets object and returns object where resource is available by name
       dogs: [
           'toys',
  
positive.code: 
  [source,js]
  ----
  api.cars === undefined;
  const cars = api.res('cars');
  api.cars === cars;   //api.cars is shortcut for 'cars' resource
  ----
  
  By default, another-rest-client will make shortcuts for defined resources. This behavior can be disabled in three ways:
  
negative.code:         'application/x-my-cool-mime': {
              encode: (objectPassedToPostPutOrPatch) => {
                  //...
                  return encodedToStringObject
              },
              decode: (stringFromXhrResponseText) => {
                  //...
                  return decodedFromStringObject
              }
          }
      }
  }
  
  const api = new RestClient('https://example.com', opts)
  //or by conf
  api.conf(opts)
  ----
  
  == Contributing
  