Sha256: e9dcc21e75e2cf84ec5b16a40fec53542cde1ecd9f1d6ddd6789b3ec2f2dc15f
Contents?: true
Size: 722 Bytes
Versions: 1
Compression:
Stored size: 722 Bytes
Contents
require 'mida_vocabulary/vocabulary' module Mida module SchemaOrg autoload :Action, 'mida_vocabulary/vocabularies/schemaorg/action' autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing' autoload :Person, 'mida_vocabulary/vocabularies/schemaorg/person' # The act of achieving victory in a competitive activity. class WinAction < Mida::Vocabulary itemtype %r{http://schema.org/WinAction}i include_vocabulary Mida::SchemaOrg::Action include_vocabulary Mida::SchemaOrg::Thing # A sub property of participant. The loser of the action. has_many 'loser' 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/winaction.rb |