<commit_before>module FCG
  module Client
    module Rsvp
      ATTRIBUTES = [:id]

      module ClassMethods
        
      end

      module InstanceMethods
        
      end

      def self.included(receiver)
# 
        receiver.extend         ClassMethods
        receiver.send :include, FCG::Client::Persistence
        receiver.send :include, InstanceMethods
      end
    end
  end
end<commit_msg>added attributes and validation to rsvp<commit_after>module FCG
  module Client
    module Rsvp
      ATTRIBUTES = [:bottle_service, :email, :message, :name, :number_of_guests, :occassion, :phone, :user_id]
      
      module ClassMethods
        
      end

      module InstanceMethods
        
      end

      def self.included(receiver)
# 
        receiver.extend         ClassMethods
        receiver.send :include, FCG::Client::Persistence
        receiver.send :include, InstanceMethods
        
        receiver.validates_presence_of :name, :number_of_guests
        receiver.validates_length_of :message, :allow_nil => true, :in => 1..1000
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.06832871652816251, 'fraction_numerical': 0.0046168051708217915, 'mean_word_length': 2.1788856304985336, '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': '4724495', 'n_tokens_mistral': 322, 'n_tokens_neox': 318, 'n_words': 76}