Sha256: 6b7b5931cb2a94949d846a80570e3ead652dff026abbd6d70c86c53f5026efd2

Contents?: true

Size: 298 Bytes

Versions: 13

Compression:

Stored size: 298 Bytes

Contents

object @setting

node do |setting|
  { :name => setting.name.delete_prefix('template_sync_') }
end

attributes :id, :value, :description, :settings_type, :default, :full_name

node do |setting|
  { :selection => (setting.select_values || {}).map { |key, label| { value: key, label: label } } }
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
foreman_templates-10.0.4 app/views/template_sync_settings/show.json.rabl
foreman_templates-10.0.3 app/views/template_sync_settings/show.json.rabl
foreman_templates-10.0.2 app/views/template_sync_settings/show.json.rabl
foreman_templates-10.0.1 app/views/template_sync_settings/show.json.rabl
foreman_templates-10.0.0 app/views/template_sync_settings/show.json.rabl
foreman_templates-9.5.1 app/views/template_sync_settings/show.json.rabl
foreman_templates-9.5.0 app/views/template_sync_settings/show.json.rabl
foreman_templates-9.3.3 app/views/template_sync_settings/show.json.rabl
foreman_templates-9.3.2 app/views/template_sync_settings/show.json.rabl
foreman_templates-9.3.1 app/views/template_sync_settings/show.json.rabl
foreman_templates-9.4.0 app/views/template_sync_settings/show.json.rabl
foreman_templates-9.3.0 app/views/template_sync_settings/show.json.rabl
foreman_templates-9.2.0 app/views/template_sync_settings/show.json.rabl