openSUSE/osem

View on GitHub
app/models/booth_request.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

class BoothRequest < ApplicationRecord
  belongs_to :booth
  belongs_to :user

  validates :role,
            presence: true

  ROLES = %w[submitter responsible].freeze
end