Skip to content

Commit 8760d55

Browse files
committed
Includes -> include
1 parent 11aca41 commit 8760d55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pusher/native_notification/client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def validate_payload(payload)
102102
if (webhook_level = payload[:webhook_level])
103103
raise Pusher::Error, "Webhook level cannot be used without a webhook url" if !payload.has_key?(:webhook_url)
104104

105-
unless WEBHOOK_LEVELS.includes?(webhook_level.upcase)
105+
unless WEBHOOK_LEVELS.include?(webhook_level.upcase)
106106
raise Pusher::Error, "Webhook level must either be INFO or DEBUG"
107107
end
108108
end

0 commit comments

Comments
 (0)