Module: MailCannon::EnvelopeBagMapReduce::InstanceMethods
- Defined in:
- lib/mailcannon/envelope_bag_map_reduce.rb
Instance Method Summary collapse
Instance Method Details
#change_events_status(from_sym, to_sym) ⇒ Object
96 97 98 |
# File 'lib/mailcannon/envelope_bag_map_reduce.rb', line 96 def change_events_status(from_sym, to_sym) self.set_processed_status_for_envelope(self.id, from_sym, to_sym) end |
#reduce_statistics ⇒ Object
88 89 90 |
# File 'lib/mailcannon/envelope_bag_map_reduce.rb', line 88 def reduce_statistics self.class.reduce_statistics_for_envelope_bag(self.id) end |
#statistics ⇒ Object
92 93 94 |
# File 'lib/mailcannon/envelope_bag_map_reduce.rb', line 92 def statistics self.class.statistics_for_envelope(self.id) end |