Sha256: 67ee1af818a6a5a2403785b03c2a8eff4e84eec37975b37fbccda84edadd8877
Contents?: true
Size: 525 Bytes
Versions: 15
Compression:
Stored size: 525 Bytes
Contents
json.call(video_file, :width, :height, :duration_in_ms) json.created_at video_file.created_at.try(:utc).try(:iso8601, 0) variants = (video_file.present_outputs + [:poster_medium, :poster_large, :poster_ultra, :print]) # Use JBuilder's private _key method to use format variants according # to current key format (camel case/underscored). This ensures # variants are consistent with the keys generated by # ConfigHelper#config_file_url_templates_seed. json.variants(variants.map { |varaint| json.__send__(:_key, varaint) })
Version data entries
15 entries across 15 versions & 1 rubygems