Sha256: 63facba650e7a7cb5be9a8e2e2b451d00dee424d8d3282f5762ad741fca99613
Contents?: true
Size: 448 Bytes
Versions: 17
Compression:
Stored size: 448 Bytes
Contents
# frozen_string_literal: true class Passport include Mongoid::Document field :number, type: String field :country, type: String field :exp, as: :expiration_date, type: Date field :name, localize: true field :localized_translations, localize: true embedded_in :person, autobuild: true embeds_many :passport_pages end class PassportPage include Mongoid::Document field :num_stamps, type: Integer embedded_in :passport end
Version data entries
17 entries across 17 versions & 1 rubygems