Sha256: 832173db96cbda43af92bfeb443d658d3bb1556c3c653bed73ef74b06e360ac0

Contents?: true

Size: 753 Bytes

Versions: 6

Compression:

Stored size: 753 Bytes

Contents

require 'mida/vocabulary'

module Mida
  module SchemaOrg

    autoload :Thing, 'mida/vocabularies/schemaorg/thing'

    # A contact point - for example, a Customer Complaints department.
    class ContactPoint < Mida::Vocabulary
      itemtype %r{http://schema.org/ContactPoint}i
      include_vocabulary Mida::SchemaOrg::Thing

      # A person or organization can have different contact points, for different purposes. For example, a sales contact point, a PR contact point and so on. This property is used to specify the kind of contact point.
      has_many 'contactType'

      # Email address.
      has_many 'email'

      # The fax number.
      has_many 'faxNumber'

      # The telephone number.
      has_many 'telephone'
    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mida-0.4.0 lib/mida/vocabularies/schemaorg/contactpoint.rb
mida-0.3.9 lib/mida/vocabularies/schemaorg/contactpoint.rb
mida-0.3.8 lib/mida/vocabularies/schemaorg/contactpoint.rb
mida-0.3.7 lib/mida/vocabularies/schemaorg/contactpoint.rb
mida-0.3.6 lib/mida/vocabularies/schemaorg/contactpoint.rb
mida-0.3.3 lib/mida/vocabularies/schemaorg/contactpoint.rb