<commit_before>require 'pact_broker/services'
require 'pact_broker/api/decorators/webhook_decorator'

module PactBroker
  module Api
    module Resources

      class Webhook < BaseResource

        def content_types_accepted
          [["application/json", :from_json]]
        end

        def content_types_provided
          [["application/hal+json", :to_json]]<commit_msg>Fix uninitialized constant PactBroker::Api::Resources::BaseResource<commit_after>require 'pact_broker/api/resources/base_resource'
require 'pact_broker/services'
require 'pact_broker/api/decorators/webhook_decorator'

module PactBroker
  module Api
    module Resources

      class Webhook < BaseResource

        def content_types_accepted
          [["application/json", :from_json]]
        end

        def content_types_provided
          [["application/hal+json", :to_json]]
{'fraction_non_alphanumeric': 0.08508158508158509, 'fraction_numerical': 0.0, 'mean_word_length': 3.6432432432432433, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1445622', 'n_tokens_mistral': 258, 'n_tokens_neox': 252, 'n_words': 48}