def handle_response(faraday_response)
      @last_response = response = Response.new(self, faraday_response)
      case response.status
      when 204; nil # destroy/cancel
      when 200..299; response
      when 401; raise Unauthorized.new(response)
      when 403; raise Forbidden.new(response)
      when 404; raise NotFound.new(response)
      when 422; raise UnprocessableEntity.new(response)
      when 429; raise RateLimitExceeded.new(response)
      else raise UnsupportedResponse.new(response)
      end
    end
def handle_response(faraday_response)
      @last_response = response = Response.new(self, faraday_response)
      case response.status
      when 204; nil # destroy/cancel
      when 200..299; response
      when 401; raise Unauthorized.new(response)
      when 403; raise Forbidden.new(response)
      when 404; raise NotFound.new(response)
      when 422; raise UnprocessableEntity.new(response)
      when 429; raise RateLimitExceeded.new(response)
      else raise UnsupportedResponse.new(response)
      end
    end
Process faraday response.

 @param faraday_response [Faraday::Response] - A response to process
 @raise [BookingSync::API::Unauthorized] - On unauthorized user
 @raise [BookingSync::API::UnprocessableEntity] - On validations error
 @return [BookingSync::API::Response|NilClass]