@@ -57,9 +57,7 @@ module Agents |
||
| 57 | 57 |
Set `expected_update_period_in_days` to the maximum amount of time that you'd expect to pass between Events being created by this Agent. |
| 58 | 58 |
MD |
| 59 | 59 |
|
| 60 |
- def gem_dependency_check |
|
| 61 |
- defined?(Tumblr) |
|
| 62 |
- end |
|
| 60 |
+ gem_dependency_check { defined?(Tumblr) }
|
|
| 63 | 61 |
|
| 64 | 62 |
def validate_options |
| 65 | 63 |
errors.add(:base, "expected_update_period_in_days is required") unless options['expected_update_period_in_days'].present? |