Class: Noticed::DeliveryMethods::Test
- Inherits:
-
Base
- Object
- Base
- Noticed::DeliveryMethods::Test
show all
- Defined in:
- lib/noticed/delivery_methods/test.rb
Instance Attribute Summary
Attributes inherited from Base
#notification, #options, #recipient, #record
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Base
#perform
Class Method Details
.clear! ⇒ Object
11
12
13
14
|
# File 'lib/noticed/delivery_methods/test.rb', line 11
def self.clear!
delivered.clear
callbacks.clear
end
|
Instance Method Details
#deliver ⇒ Object
16
17
18
|
# File 'lib/noticed/delivery_methods/test.rb', line 16
def deliver
self.class.delivered << notification
end
|