lib/mida_vocabulary/vocabularies/schemaorg/rating.rb in mida_vocabulary-0.1.3 vs lib/mida_vocabulary/vocabularies/schemaorg/rating.rb in mida_vocabulary-0.2

- old
+ new

@@ -7,24 +7,9 @@ # The rating of the video. class Rating < Mida::Vocabulary itemtype %r{http://schema.org/Rating}i include_vocabulary Mida::SchemaOrg::Thing - - # The highest value allowed in this rating system. If bestRating is omitted, 5 is assumed. - has_many 'bestRating' do - extract Mida::DataType::Number - extract Mida::DataType::Text - end - - # The rating for the content. - has_many 'ratingValue' - - # The lowest value allowed in this rating system. If worstRating is omitted, 1 is assumed. - has_many 'worstRating' do - extract Mida::DataType::Number - extract Mida::DataType::Text - end end end end