<commit_before>module ThreeSeventyApi
  module Api
    module AccountAttribute
      def all_attibutes(account_id)
        end_point = "/account/#{account_id}/attribute"
        get(end_point)
      end
      def attribute(account_id, name)
        end_point = "/account/#{account_id}/attribute/#{name}"
        get(end_point)
      end
      def add_attribute(account_id, payload)
        end_point = "/account/#{account_id}/attribute"
        post(end_point,payload)
      end
      def edit_attribute(account_id, payload)
        end_point = "/account/#{account_id}/attribute"
        post(end_point,payload)
      end
      def delete_attribute(account_id, name)
        end_point = "/account/#{account_id}/attribute/#{name}"
        delete(end_point)
      end
    end
  end
end<commit_msg>add_attribute params changed.<commit_after>module ThreeSeventyApi
  module Api
    module AccountAttribute
      def all_attributes(account_id)
        end_point = "/account/#{account_id}/attribute"
        get(end_point)
      end
      def get_attribute(account_id, name)
        end_point = "/account/#{account_id}/attribute/#{name}"
        get(end_point)
      end
      def add_attribute(account_id, name)
        payload = {
          "name" => name
        }
        end_point = "/account/#{account_id}/attribute"
        post(end_point, payload)
      end
      def edit_attribute(account_id, name)
        payload = {
          "name" => name
        }
        end_point = "/account/#{account_id}/attribute"
        put(end_point, payload)
      end
      def delete_attribute(account_id, name)
        end_point = "/account/#{account_id}/attribute/#{name}"
        delete(end_point)
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.10431235431235432, 'fraction_numerical': 0.0, 'mean_word_length': 2.4067460317460316, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '4731349', 'n_tokens_mistral': 513, 'n_tokens_neox': 514, 'n_words': 95}