Skip to content

Commit c199038

Browse files
committed
Linty
1 parent 5cb09ee commit c199038

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

lib/noticed.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ def self.deprecator # :nodoc:
1818

1919
module DeliveryMethods
2020
include ActiveSupport::Deprecation::DeprecatedConstantAccessor
21+
2122
deprecate_constant :Base, "Noticed::DeliveryMethod", deprecator: Noticed.deprecator
2223
end
2324

lib/noticed/bulk_delivery_method.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ class BulkDeliveryMethod < Noticed.parent_class.constantize
44
include RequiredOptions
55

66
extend ActiveModel::Callbacks
7+
78
define_model_callbacks :deliver
89

910
class_attribute :logger, default: Rails.logger

lib/noticed/delivery_method.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ class DeliveryMethod < Noticed.parent_class.constantize
44
include RequiredOptions
55

66
extend ActiveModel::Callbacks
7+
78
define_model_callbacks :deliver
89

910
class_attribute :logger, default: Rails.logger

0 commit comments

Comments
 (0)