Sha256: 9133d34f5cc207d8d294834e132da3cfa107c416a22caa3dd393e9f2cc33317d

Contents?: true

Size: 239 Bytes

Versions: 1

Compression:

Stored size: 239 Bytes

Contents

# frozen_string_literals: true

module Jobshop
  class Mailman < ApplicationRecord
    self.primary_keys = %i[ organization_id address ]

    belongs_to :organization, inverse_of: :mailmen

    validates :address, presence: true
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jobshop-0.0.163 app/models/jobshop/mailman.rb