Sha256: 8d117c50be79e03f9f64ce62fd168dc98cdea2ace09de56996378c600860f261
Contents?: true
Size: 334 Bytes
Versions: 1
Compression:
Stored size: 334 Bytes
Contents
# frozen_string_literal: true # # Model the Schema.org **Person**. See http://schema.org/Person # module SchemaDotOrg class Person < SchemaType validated_attr :name, type: String, presence: true validated_attr :same_as, type: Array, allow_nil: true validated_attr :url, type: String, allow_nil: true end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
schema_dot_org-2.2.1 | lib/schema_dot_org/person.rb |