Sha256: 828958aa343a5cd23294534c41b38c1f5fe419a76f1b0dc878b8ff455452049c
Contents?: true
Size: 811 Bytes
Versions: 6
Compression:
Stored size: 811 Bytes
Contents
require 'mida/vocabulary' module Mida module SchemaOrg autoload :Thing, 'mida/vocabularies/schemaorg/thing' autoload :CreativeWork, 'mida/vocabularies/schemaorg/creativework' autoload :MusicPlaylist, 'mida/vocabularies/schemaorg/musicplaylist' autoload :MusicGroup, 'mida/vocabularies/schemaorg/musicgroup' # A collection of music tracks. class MusicAlbum < Mida::Vocabulary itemtype %r{http://schema.org/MusicAlbum}i include_vocabulary Mida::SchemaOrg::Thing include_vocabulary Mida::SchemaOrg::CreativeWork include_vocabulary Mida::SchemaOrg::MusicPlaylist # The artist that performed this album or recording. has_many 'byArtist' do extract Mida::SchemaOrg::MusicGroup extract Mida::DataType::Text end end end end
Version data entries
6 entries across 6 versions & 1 rubygems