<commit_before>module TidyClub
  class Contact < BaseObject

    attr_accessor :id, :first_name, :last_name, :created_at

    # returns a list of all members that are in tidy club
    # @param [Boolean] search Terms to search for
    # @param [Boolean] registered_only Whether or not to show only registered contacts
    def self.all(search = '', registered_only = false)
      ret = []
      rq = TidyClub::Request::Contacts.new
      rq.add_parameter("search_terms", search) unless search == ''
      rq.add_parameter("registered", true) if registered_only
      TidyClub.get_api.make_request(rq).each do |row|
        ret << Contact.new(row)
      end
      ret
    end
  end
end<commit_msg>extra contact parameters<commit_after>module TidyClub
  class Contact < BaseObject

    attr_accessor :id, :first_name, :last_name, :nick_name, :company, :email_address, :phone_number,
                  :address1, :city, :state, :country, :post_code,
                  :gender, :birthday, :facebook, :twitter, :details, :profile_image,
                  :created_at

    # returns a list of all members that are in tidy club
    # @param [Boolean] search Terms to search for
    # @param [Boolean] registered_only Whether or not to show only registered contacts
    def self.all(search = '', registered_only = false)
      ret = []
      rq = TidyClub::Request::Contacts.new
      rq.add_parameter('search_terms', search) unless search == ''
      rq.add_parameter('registered', true) if registered_only
      TidyClub.get_api.make_request(rq).each do |row|
        ret << Contact.new(row)
      end
      ret
    end
  end
end
{'fraction_non_alphanumeric': 0.09870450339296731, 'fraction_numerical': 0.0006169031462060457, 'mean_word_length': 3.055, 'pattern_counts': {'":': 0, '<': 9, '<?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': '3794370', 'n_tokens_mistral': 496, 'n_tokens_neox': 469, 'n_words': 144}