class InsightsExport::Configuration

Attributes

debug[RW]

Print a backtrace when the export throws an exception. Default: false

except_models[RW]

Exclude these models from the export Array of strings or regexps to filter or blank to export all.

export_path[RW]

The path to the export file Defaults to “#{Rails.root}/config/insights.yml”

only_models[RW]

Export only models in this list Array of strings or regexps to filter or blank to export all.

Public Class Methods

new() click to toggle source
# File lib/insights_export/configuration.rb, line 19
def initialize
  @export_path = "#{Rails.root}/config/insights.yml"
  @only_models = []
  @except_models = []
  @debug = false
end