diff --git a/lib/scale/api/callback.rb b/lib/scale/api/callback.rb index e936a53..161e17c 100644 --- a/lib/scale/api/callback.rb +++ b/lib/scale/api/callback.rb @@ -19,11 +19,11 @@ def verified? end def self.valid_callback_auth_key?(callback_key, request_callback_key) - !!(callback_key && request_callback_key && request_callback_key == callback_key) + callback_key && request_callback_key && request_callback_key == callback_key end end end end require 'scale/api/tasks' -require 'scale/api/tasks/base_task' \ No newline at end of file +require 'scale/api/tasks/base_task'