Module: SimpleFeed::Key
- Defined in:
- lib/simplefeed/key/type.rb,
lib/simplefeed/key/template.rb
Defined Under Namespace
Classes: Template, TextTemplate, Type
Constant Summary collapse
- DEFAULT_TYPES =
[ { name: :data, marker: 'd' }, { name: :meta, marker: 'm' } ].map do |type| Type.new(type[:name], type[:marker], DEFAULT_TEXT_TEMPLATE) end
- DEFAULT_TEXT_TEMPLATE =
TextTemplate.new('{{ namespace }}u.{{ base62_user_id }}.{{ key_marker }}')