Sha256: 6a6e6c702726d074c1041bbd0e7577dc87282e7fe24755ad42fa842fb1680f90
Contents?: true
Size: 685 Bytes
Versions: 1
Compression:
Stored size: 685 Bytes
Contents
require 'mida_vocabulary/vocabulary' module Mida module SchemaOrg autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing' autoload :ImageObject, 'mida_vocabulary/vocabularies/schemaorg/imageobject' # A brand is a name used by an organization or business person for labeling a product, product group, or similar. class Brand < Mida::Vocabulary itemtype %r{http://schema.org/Brand}i include_vocabulary Mida::SchemaOrg::Thing # A logo associated with an organization. has_many 'logo' do extract Mida::DataType::URL extract Mida::SchemaOrg::ImageObject 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/brand.rb |