مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2026-04-19 21:34:34 +00:00
style(rubocop): Lint/MissingSuper
هذا الالتزام موجود في:
@@ -49,6 +49,7 @@ class Postal::Errors::AuthenticationError < Postal::Error
|
|||||||
attr_reader :error
|
attr_reader :error
|
||||||
|
|
||||||
def initialize(error)
|
def initialize(error)
|
||||||
|
super()
|
||||||
@error = error
|
@error = error
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -111,6 +111,7 @@ module Mail
|
|||||||
# Handle attached emails as attachments
|
# Handle attached emails as attachments
|
||||||
class AttachmentsList < Array
|
class AttachmentsList < Array
|
||||||
|
|
||||||
|
# rubocop:disable Lint/MissingSuper
|
||||||
def initialize(parts_list)
|
def initialize(parts_list)
|
||||||
@parts_list = parts_list
|
@parts_list = parts_list
|
||||||
@content_disposition_type = "attachment"
|
@content_disposition_type = "attachment"
|
||||||
@@ -119,6 +120,7 @@ module Mail
|
|||||||
end.flatten.compact.each { |a| self << a }
|
end.flatten.compact.each { |a| self << a }
|
||||||
self
|
self
|
||||||
end
|
end
|
||||||
|
# rubocop:enable Lint/MissingSuper
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ module Postal
|
|||||||
class HTTPSender < Sender
|
class HTTPSender < Sender
|
||||||
|
|
||||||
def initialize(endpoint, options = {})
|
def initialize(endpoint, options = {})
|
||||||
|
super()
|
||||||
@endpoint = endpoint
|
@endpoint = endpoint
|
||||||
@options = options
|
@options = options
|
||||||
@log_id = Nifty::Utils::RandomString.generate(length: 8).upcase
|
@log_id = Nifty::Utils::RandomString.generate(length: 8).upcase
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ module Postal
|
|||||||
class SMTPSender < Sender
|
class SMTPSender < Sender
|
||||||
|
|
||||||
def initialize(domain, source_ip_address, options = {})
|
def initialize(domain, source_ip_address, options = {})
|
||||||
|
super()
|
||||||
@domain = domain
|
@domain = domain
|
||||||
@source_ip_address = source_ip_address
|
@source_ip_address = source_ip_address
|
||||||
@options = options
|
@options = options
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم