<commit_before>module Api
  module V1
    class MemberResource < BaseResource
      immutable

      has_many :gardens
      has_many :plantings
      has_many :harvests
      has_many :seeds
      has_many :photos

      attribute :login_name
    end
  end
end<commit_msg>Add filters for the members api<commit_after>module Api
  module V1
    class MemberResource < BaseResource
      immutable

      has_many :gardens
      has_many :plantings
      has_many :harvests
      has_many :seeds

      has_many :photos

      attribute :login_name
      attribute :slug

      filters :login_name, :slug
    end
  end
end
{'fraction_non_alphanumeric': 0.03864734299516908, 'fraction_numerical': 0.00322061191626409, 'mean_word_length': 2.398907103825137, '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': '3298128', 'n_tokens_mistral': 195, 'n_tokens_neox': 190, 'n_words': 55}