Sha256: b8f4f7fceaebdc328e86f1db2a9f7bf21969b1ba56002f0053f24e1f3b21e518
Contents?: true
Size: 530 Bytes
Versions: 15
Compression:
Stored size: 530 Bytes
Contents
require 'jbuilder' module ADIWG module Mdtranslator module Writers module MdJson module TimePeriod def self.build(intObj) Jbuilder.new do |json| json.id intObj[:timeId] json.description intObj[:description] json.beginPosition intObj[:beginTime][:dateTime] unless intObj[:beginTime].nil? json.endPosition intObj[:endTime][:dateTime] unless intObj[:endTime].nil? end end end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems