lib/cutting_edge/workers/helpers.rb in cutting_edge-0.0.1 vs lib/cutting_edge/workers/helpers.rb in cutting_edge-0.1

- old
+ new

@@ -12,9 +12,17 @@ end def get_from_store(identifier) ::CuttingEdge::App.store[identifier] end + + def badge_worker(identifier) + BadgeWorker.perform_async(identifier) + end + + def mail_worker(identifier, to_address) + MailWorker.perform_async(identifier, to_address) + end end class GenericWorker include ::SuckerPunch::Job \ No newline at end of file