<commit_before>module Eligible
  class Claim < APIResource
    def self.get(params, api_key=nil)
      response, api_key = Eligible.request(:get, "/claims/acknowledgements/#{params[:reference_id]}.json", api_key, params)
      Util.convert_to_eligible_object(response, api_key)
    end

    def self.post(params, api_key=nil)
      response, api_key = Eligible.request(:get, "/claims.json", api_key, params)
      Util.convert_to_eligible_object(response, api_key)
    end
<commit_msg>correct http method #16<commit_after>module Eligible
  class Claim < APIResource
    def self.get(params, api_key=nil)
      response, api_key = Eligible.request(:get, "/claims/acknowledgements/#{params[:reference_id]}.json", api_key, params)
      Util.convert_to_eligible_object(response, api_key)
    end

    def self.post(params, api_key=nil)
      response, api_key = Eligible.request(:post, "/claims.json", api_key, params)
      Util.convert_to_eligible_object(response, api_key)
    end

{'fraction_non_alphanumeric': 0.11518858307849134, 'fraction_numerical': 0.0020387359836901123, 'mean_word_length': 4.51685393258427, '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': '1318483', 'n_tokens_mistral': 332, 'n_tokens_neox': 318, 'n_words': 61}