lib/mida_vocabulary/vocabularies/schemaorg/audioobject.rb in mida_vocabulary-0.1.3 vs lib/mida_vocabulary/vocabularies/schemaorg/audioobject.rb in mida_vocabulary-0.2
- old
+ new
@@ -1,22 +1,19 @@
require 'mida_vocabulary/vocabulary'
module Mida
module SchemaOrg
- autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'
- autoload :CreativeWork, 'mida_vocabulary/vocabularies/schemaorg/creativework'
autoload :MediaObject, 'mida_vocabulary/vocabularies/schemaorg/mediaobject'
+ autoload :CreativeWork, 'mida_vocabulary/vocabularies/schemaorg/creativework'
+ autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'
# An audio file.
class AudioObject < Mida::Vocabulary
itemtype %r{http://schema.org/AudioObject}i
- include_vocabulary Mida::SchemaOrg::Thing
- include_vocabulary Mida::SchemaOrg::CreativeWork
include_vocabulary Mida::SchemaOrg::MediaObject
-
- # If this MediaObject is an AudioObject or VideoObject, the transcript of that object.
- has_many 'transcript'
+ include_vocabulary Mida::SchemaOrg::CreativeWork
+ include_vocabulary Mida::SchemaOrg::Thing
end
end
end