Sha256: 4a9b79fcf47fccdeb67cd9e9cc8ea74a5c18dbf9b588e2d9ce7e00c6b30666f0
Contents?: true
Size: 558 Bytes
Versions: 1
Compression:
Stored size: 558 Bytes
Contents
module FxosRails class Manifest def t(*args) I18n.t(*args) end def as_json(*) { name: t('app.name'), description: t('app.description'), version: t('app.version'), icons: { "64" => "/icons/icon-64.png", "128" => "/icons/icon-128.png", }, developer: { name: t('app.developer.name'), url: t('app.developer.url'), }, type: 'web', default_locale: I18n.locale, launch_path: '/index.html', } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fxos_rails-1.0.2 | lib/fxos_rails/manifest.rb |