Sha256: 82da038c59cfcf73ffeb0ad2ae835621e0170ab101f606e0947ec31a667932d5
Contents?: true
Size: 460 Bytes
Versions: 53
Compression:
Stored size: 460 Bytes
Contents
module Locomotive module Steam class ThemeAssetRepository include Models::Repository # Entity mapping mapping :theme_assets, entity: ThemeAsset def url_for(path) "#{base_url}/#{path}" end def checksums query { only(:checksum, :local_path) }.all.inject({}) do |memo, asset| memo[asset.local_path] = asset.checksum if asset.checksum memo end end end end end
Version data entries
53 entries across 53 versions & 1 rubygems