Sha256: ac9d44e95e2dba0a59c5bafd14967a85b754fdae47a1c3ecc7d02e3999d3d11b
Contents?: true
Size: 1.26 KB
Versions: 1
Compression:
Stored size: 1.26 KB
Contents
require 'mida_vocabulary/vocabulary' module Mida module SchemaOrg autoload :TradeAction, 'mida_vocabulary/vocabularies/schemaorg/tradeaction' autoload :Action, 'mida_vocabulary/vocabularies/schemaorg/action' autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing' autoload :Person, 'mida_vocabulary/vocabularies/schemaorg/person' autoload :WarrantyPromise, 'mida_vocabulary/vocabularies/schemaorg/warrantypromise' # The act of taking money from a buyer in exchange for goods or services rendered. An agent sells an object, product, or service to a buyer for a price. Reciprocal of BuyAction. class SellAction < Mida::Vocabulary itemtype %r{http://schema.org/SellAction}i include_vocabulary Mida::SchemaOrg::TradeAction include_vocabulary Mida::SchemaOrg::Action include_vocabulary Mida::SchemaOrg::Thing # A sub property of participant. The participant/person/organization that bought the object. has_many 'buyer' do extract Mida::SchemaOrg::Person extract Mida::DataType::Text end # The warranty promise(s) included in the offer. has_many 'warrantyPromise' do extract Mida::SchemaOrg::WarrantyPromise 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/sellaction.rb |