lib/god/contacts/webhook.rb in resurrected_god-1.0.0 vs lib/god/contacts/webhook.rb in resurrected_god-1.1.0

- old
+ new

@@ -1,13 +1,14 @@ +# frozen_string_literal: true + # Send a notice to a webhook. # # url - The String webhook URL. # format - The Symbol format [ :form | :json ] (default: :form). require 'net/http' require 'uri' -CONTACT_DEPS[:webhook] = ['json'] CONTACT_DEPS[:webhook].each do |d| require d end module God