Sha256: 3ea6ffffd25248a5550d0a12f0235491a7c245f302d68d68aa5923e881e085c2

Contents?: true

Size: 336 Bytes

Versions: 1

Compression:

Stored size: 336 Bytes

Contents

class Persona::Identity < Persona::Model
  extend EnumerateIt

  self.abstract_class = true

  attr_readonly :person_id

  has_enumeration_for :issuer

  belongs_to :individual, class_name: '::Individual'
  belongs_to :state, class_name: '::State'

  validates :issue, timeliness: { before: :today, type: :date }, allow_blank: true
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
unico-training-7.8.0 app/models/persona/identity.rb