Default options should be strings.

Guilherme J. Tramontina 10 lat temu
rodzic
commit
6caa7473ec
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3 3
      app/models/agents/dropbox_watch_agent.rb

+ 3 - 3
app/models/agents/dropbox_watch_agent.rb

@@ -24,9 +24,9 @@ module Agents
24 24
 
25 25
     def default_options
26 26
       {
27
-        access_token: 'your_dropbox_app_access_token',
28
-        dir_to_watch: '/',
29
-        expected_update_period_in_days: 1
27
+        'access_token' => 'your_dropbox_app_access_token',
28
+        'dir_to_watch' => '/',
29
+        'expected_update_period_in_days' => 1
30 30
       }
31 31
     end
32 32