Class: Noticed::DeliveryMethods::Test
- Defined in:
- lib/noticed/delivery_methods/test.rb
Instance Attribute Summary
Attributes inherited from Base
#notification, #options, #params, #recipient, #record
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Base
#assign_args, inherited, options, #perform, validate!
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 |