Sha256: 9948f868ca2e38e156827a1c47f06c9594947d997d449a155c8a78d8c8ce07f0
Contents?: true
Size: 907 Bytes
Versions: 1
Compression:
Stored size: 907 Bytes
Contents
require 'mida_vocabulary/vocabulary' module Mida module SchemaOrg autoload :ChooseAction, 'mida_vocabulary/vocabularies/schemaorg/chooseaction' autoload :Action, 'mida_vocabulary/vocabularies/schemaorg/action' autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing' autoload :Person, 'mida_vocabulary/vocabularies/schemaorg/person' # The act of expressing a preference from a fixed/finite/structured set of choices/options. class VoteAction < Mida::Vocabulary itemtype %r{http://schema.org/VoteAction}i include_vocabulary Mida::SchemaOrg::ChooseAction include_vocabulary Mida::SchemaOrg::Action include_vocabulary Mida::SchemaOrg::Thing # A sub property of object. The candidate subject of this action. has_many 'candidate' do extract Mida::SchemaOrg::Person extract Mida::DataType::Text end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mida_vocabulary-0.2.2 | lib/mida_vocabulary/vocabularies/schemaorg/voteaction.rb |