module ADIWG::Mdtranslator::Writers::MdJson::Extent
Public Class Methods
build(hExtent)
click to toggle source
# File lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_extent.rb, line 19 def self.build(hExtent) @Namespace = ADIWG::Mdtranslator::Writers::MdJson Jbuilder.new do |json| json.description hExtent[:description] json.geographicExtent @Namespace.json_map(hExtent[:geographicExtents], GeographicExtent) json.temporalExtent @Namespace.json_map(hExtent[:temporalExtents], TemporalExtent) json.verticalExtent @Namespace.json_map(hExtent[:verticalExtents], VerticalExtent) end end