Update inbox_disabled.rb

This commit is contained in:
Muhsin
2026-06-22 14:39:32 +04:00
parent d720e013d4
commit 86d0955794
2 changed files with 15 additions and 17 deletions
-17
View File
@@ -1,17 +0,0 @@
# frozen_string_literal: true
module CustomExceptions::Inbox
class Disabled < CustomExceptions::Base
def message
'This inbox is currently disabled'
end
def error_code
'inbox_disabled'
end
def http_status
:forbidden
end
end
end
+15
View File
@@ -0,0 +1,15 @@
# frozen_string_literal: true
class CustomExceptions::InboxDisabled < CustomExceptions::Base
def message
'This inbox is currently disabled'
end
def error_code
'inbox_disabled'
end
def http_status
:forbidden
end
end