<commit_before>module Infusionsoft
  module Api
    module Model
      class ContactGroupAssign < Infusionsoft::Api::Model::Base

        def all(query = {}, page_number = 0)
          results = super(query, page_number)
          results.map{|x|{
            'Id'           => x['ContactId'],
            'FirstName'    => x['Contact.FirstName'],
            'LastName'     => x['Contact.LastName'],
            'Company'      => x['Contact.Company'],
            'Email'        => x['Contact.Email'],
            'ContactGroup' => x['ContactGroup'],
          }}
        end

        def fields
          [:'ContactGroup', :'ContactId', :'Contact.FirstName', :'Contact.LastName', :'Contact.Company', :'Contact.Email']
        end

      end
    end
  end
end<commit_msg>fix number of arguments in ContactGroupAssign<commit_after>module Infusionsoft
  module Api
    module Model
      class ContactGroupAssign < Infusionsoft::Api::Model::Base

        def all(query = {}, paginate = true, page_number = 0)
          results = super(query, paginate, page_number)
          results.map{|x|{
            'Id'           => x['ContactId'],
            'FirstName'    => x['Contact.FirstName'],
            'LastName'     => x['Contact.LastName'],
            'Company'      => x['Contact.Company'],
            'Email'        => x['Contact.Email'],
            'ContactGroup' => x['ContactGroup'],
          }}
        end

        def fields
          [:'ContactGroup', :'ContactId', :'Contact.FirstName', :'Contact.LastName', :'Contact.Company', :'Contact.Email']
        end

      end
    end
  end
end
{'fraction_non_alphanumeric': 0.14535246412975672, 'fraction_numerical': 0.0012476606363069245, 'mean_word_length': 1.992537313432836, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, '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': '4664138', 'n_tokens_mistral': 452, 'n_tokens_neox': 443, 'n_words': 93}