class Hyrax::Ingest::Reporting::Configuration
Attributes
default_output_file[RW]
default_template_path[R]
Public Class Methods
new()
click to toggle source
# File lib/hyrax/ingest/reporting/configuration.rb, line 10 def initialize @default_template_path = File.expand_path('../views/hyrax_ingest_report.html.erb', __FILE__) @default_output_file = File.expand_path('hyrax_ingest_report.html') end
Public Instance Methods
default_template_path=(path)
click to toggle source
# File lib/hyrax/ingest/reporting/configuration.rb, line 15 def default_template_path=(path) raise Hyrax::Ingest::Errors::ConfigurationError, "\"#{path}\" does not exist" unless File.exist? path @default_template_path = path end