class Decidim::Meetings::Registration

def calculate_registration_code

Returns a String.

provided by the configuration and scoped to the meeting.
Calculates a unique code for the model using the class
def calculate_registration_code
  Decidim::Meetings::Registrations.code_generator.generate(self)
end