Skip to content

Commit

Permalink
Merge branch 'joao/webhook_auth_middleware' of github.com:signalwire/…
Browse files Browse the repository at this point in the history
…signalwire-ruby into joao/webhook_auth_middleware
  • Loading branch information
jpsantosbh committed Oct 26, 2023
2 parents 542db14 + af177b9 commit 328b1c4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions lib/rack/signalwire_webhook_authentication.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
require 'rack/media_type'

module Rack

class SignalwireWebhookAuthentication

FORM_URLENCODED_MEDIA_TYPE = Rack::MediaType.type('application/x-www-form-urlencoded')

def initialize(app, private_key, *paths, &private_key_lookup)
Expand Down
2 changes: 1 addition & 1 deletion spec/rack/signalwire_webhook_authentication_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -194,4 +194,4 @@
end

end
end
end

0 comments on commit 328b1c4

Please sign in to comment.