From 2a79e2c1d98408c0535fba0fd23abd9a28fd9831 Mon Sep 17 00:00:00 2001 From: alejndr0 Date: Mon, 10 Jun 2024 15:42:24 +0200 Subject: [PATCH] remove unused method --- lib/octokit/error.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/octokit/error.rb b/lib/octokit/error.rb index 4ef40f75c..ec94c3ebd 100644 --- a/lib/octokit/error.rb +++ b/lib/octokit/error.rb @@ -111,10 +111,6 @@ def self.error_for_404(body) end end - def self.error_for_410(body) - Octokit::Gone - end - # Return most appropriate error for 422 HTTP status code # @private # rubocop:disable Naming/VariableNumber