add in can not receive events

Judy Ngai 9 gadi atpakaļ
vecāks
revīzija
a011af55a9
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      app/models/agents/aftership_agent.rb

+ 2 - 0
app/models/agents/aftership_agent.rb

@@ -3,6 +3,8 @@ require 'uri'
3 3
 module Agents
4 4
   class AftershipAgent < Agent
5 5
 
6
+    cannot_receive_events!
7
+
6 8
     default_schedule "every_10m"
7 9
 
8 10
     description <<-MD