Sha256: f5a315609bba675128e5a889936523cf25900330f134f5e195aad4d39d2911bd
Contents?: true
Size: 264 Bytes
Versions: 62
Compression:
Stored size: 264 Bytes
Contents
class ArtefactExternalLink include Mongoid::Document field "title", type: String field "url", type: String embedded_in :artefact validates_presence_of :title validates :url, :presence => true, :format => { :with => URI::regexp(%w{http https}) } end
Version data entries
62 entries across 62 versions & 1 rubygems