Sha256: fe6f8eaf866698d6f9f729b2fb1c7d0213817fd54cd0443be499df7d6ad62ea4

Contents?: true

Size: 775 Bytes

Versions: 4

Compression:

Stored size: 775 Bytes

Contents

require 'mida_vocabulary/vocabulary'

module Mida
  module SchemaOrg

    autoload :Thing, 'mida_vocabulary/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

4 entries across 4 versions & 1 rubygems

Version Path
mida_vocabulary-0.1.3 lib/mida_vocabulary/vocabularies/schemaorg/contactpoint.rb
mida_vocabulary-0.1.2 lib/mida_vocabulary/vocabularies/schemaorg/contactpoint.rb
mida_vocabulary-0.1.1 lib/mida_vocabulary/vocabularies/schemaorg/contactpoint.rb
mida_vocabulary-0.1 lib/mida_vocabulary/vocabularies/schemaorg/contactpoint.rb