Преглед изворни кода

Enable dry-running for GoogleTranslationAgent

Akinori MUSHA пре 4 месеци
родитељ
комит
4ecb6c16ce
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      app/models/agents/google_translation_agent.rb

+ 1 - 0
app/models/agents/google_translation_agent.rb

@@ -1,6 +1,7 @@
 module Agents
   class GoogleTranslationAgent < Agent
     cannot_be_scheduled!
+    can_dry_run!
 
     gem_dependency_check do
       require 'google/cloud/translate/v2'