Sha256: 2f094b15cf4f53c709417ba6cdf223a73abf6158d3a46131cacb05faa691ece3

Contents?: true

Size: 358 Bytes

Versions: 4

Compression:

Stored size: 358 Bytes

Contents

class Setting::RhCloud < Setting
  def self.default_settings
    return unless ActiveRecord::Base.connection.table_exists?('settings')
    return unless super
    [
      set('allow_auto_inventory_upload', N_('Allow automatic upload of the host inventory to the Red Hat cloud'), true),
    ]
  end

  def self.humanized_category
    N_('RH Cloud')
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
foreman_rh_cloud-1.0.6 app/models/setting/rh_cloud.rb
foreman_rh_cloud-2.0.6 app/models/setting/rh_cloud.rb
foreman_rh_cloud-1.0.5 app/models/setting/rh_cloud.rb
foreman_rh_cloud-2.0.5 app/models/setting/rh_cloud.rb