def request(method, path, data = nil, options = nil)
      instrument("request.bookingsync_api", method: method, path: path) do
        response = call(method, path, data, options)
        response.respond_to?(:resources) ? response.resources : response
      end
    end
def request(method, path, data = nil, options = nil)
      instrument("request.bookingsync_api", method: method, path: path) do
        response = call(method, path, data, options)
        response.respond_to?(:resources) ? response.resources : response
      end
    end
Make a HTTP request to a path and returns an Array of Resources

 @param method [Symbol] HTTP verb to use.
 @param path [String] The path, relative to {#api_endpoint}.
 @param data [Hash] Data to be send in the request's body
   it can include query: key with requests params for GET requests
 @param options [Hash] A customizable set of request options.
 @return [Array<BookingSync::API::Resource>] Array of resources.