Class: Hyrax::Ingest::Reporting::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/hyrax/ingest/reporting/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



10
11
12
13
# 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

Instance Attribute Details

#default_output_fileObject

Returns the value of attribute default_output_file.



8
9
10
# File 'lib/hyrax/ingest/reporting/configuration.rb', line 8

def default_output_file
  @default_output_file
end

#default_template_pathObject

Returns the value of attribute default_template_path.



7
8
9
# File 'lib/hyrax/ingest/reporting/configuration.rb', line 7

def default_template_path
  @default_template_path
end