Sha256: 0edf11ab3a690e26029ba497c31003d8bac66357c822c9316ebe027851926ac1
Contents?: true
Size: 841 Bytes
Versions: 6
Compression:
Stored size: 841 Bytes
Contents
require 'mida/vocabulary' module Mida module SchemaOrg autoload :Thing, 'mida/vocabularies/schemaorg/thing' # The geographic coordinates of a place or event. class GeoCoordinates < Mida::Vocabulary itemtype %r{http://schema.org/GeoCoordinates}i include_vocabulary Mida::SchemaOrg::Thing # The elevation of a location. has_many 'elevation' do extract Mida::DataType::Number extract Mida::DataType::Text end # The latitude of a location. For example 37.42242. has_many 'latitude' do extract Mida::DataType::Number extract Mida::DataType::Text end # The longitude of a location. For example -122.08585. has_many 'longitude' do extract Mida::DataType::Number extract Mida::DataType::Text end end end end
Version data entries
6 entries across 6 versions & 1 rubygems