Update inbox.rb

This commit is contained in:
Muhsin
2026-06-22 13:40:22 +04:00
parent d59415ff5d
commit 2f52af6e2d
+11 -13
View File
@@ -1,19 +1,17 @@
# frozen_string_literal: true
class CustomExceptions::Inbox::Disabled < CustomExceptions::Base
def initialize(data = {})
super
end
module CustomExceptions::Inbox
class Disabled < CustomExceptions::Base
def message
'This inbox is currently disabled'
end
def message
'This inbox is currently disabled'
end
def error_code
'inbox_disabled'
end
def error_code
'inbox_disabled'
end
def http_status
:forbidden
def http_status
:forbidden
end
end
end