Sha256: d2fbdb549bd3ce92f1f9e397c3a2426c0a9c49fe8fdae3b5f50fb90c859d18cc
Contents?: true
Size: 1001 Bytes
Versions: 1
Compression:
Stored size: 1001 Bytes
Contents
require 'mida_vocabulary/vocabulary' module Mida module SchemaOrg autoload :TransferAction, 'mida_vocabulary/vocabularies/schemaorg/transferaction' autoload :Action, 'mida_vocabulary/vocabularies/schemaorg/action' autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing' autoload :Person, 'mida_vocabulary/vocabularies/schemaorg/person' # The act of obtaining an object under an agreement to return it at a later date. Reciprocal of LendAction.Related actions:LendAction: Reciprocal of BorrowAction. class BorrowAction < Mida::Vocabulary itemtype %r{http://schema.org/BorrowAction}i include_vocabulary Mida::SchemaOrg::TransferAction include_vocabulary Mida::SchemaOrg::Action include_vocabulary Mida::SchemaOrg::Thing # A sub property of participant. The person that lends the object being borrowed. has_many 'lender' 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/borrowaction.rb |