Sha256: 9468d079f417f80214c791001c717c11c1396e563e149defdbfa910d65bbcc3a

Contents?: true

Size: 561 Bytes

Versions: 1

Compression:

Stored size: 561 Bytes

Contents

# frozen_string_literal: true

require 'schema_dot_org'


#
# Model the Schema.org `ContactPoint`.  See http://schema.org/ContactPoint
#
module SchemaDotOrg
  class ContactPoint < SchemaType
    validated_attr :area_served,         type: Array,   allow_nil: true
    validated_attr :available_language,  type: Array,   allow_nil: true
    validated_attr :contact_option,      type: String,  allow_nil: true
    validated_attr :contact_type,        type: String,  presence:  true
    validated_attr :telephone,           type: String,  presence:  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/contact_point.rb