add in can not receive events

Judy Ngai 9 anni fa
parent
commit
a011af55a9
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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