class ElasticAPM::CentralConfig
def fetch_config
def fetch_config resp = perform_request # rubocop:disable Lint/DuplicateBranch case resp.status when 200..299 resp when 300..399 resp when 400..499 raise ClientError, resp when 500..599 raise ServerError, resp end # rubocop:enable Lint/DuplicateBranch end