class Locomotive::Steam::ThemeAssetRepository

Public Instance Methods

checksums() click to toggle source
# File lib/locomotive/steam/repositories/theme_asset_repository.rb, line 15
def checksums
  query { only(:checksum, :local_path) }.all.inject({}) do |memo, asset|
    memo[asset.local_path] = asset.checksum if asset.checksum
    memo
  end
end
url_for(path) click to toggle source
# File lib/locomotive/steam/repositories/theme_asset_repository.rb, line 11
def url_for(path)
  "#{base_url}/#{path}"
end