Class: PeakFlowUtils::ConfigurationService

Inherits:
Object
  • Object
show all
Defined in:
app/services/peak_flow_utils/configuration_service.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfigurationService

Returns a new instance of ConfigurationService.



8
9
10
# File 'app/services/peak_flow_utils/configuration_service.rb', line 8

def initialize
  @paths_to_translate = [Rails.root.to_s]
end

Instance Attribute Details

#paths_to_translateObject

Returns the value of attribute paths_to_translate.



2
3
4
# File 'app/services/peak_flow_utils/configuration_service.rb', line 2

def paths_to_translate
  @paths_to_translate
end

Class Method Details

.currentObject



4
5
6
# File 'app/services/peak_flow_utils/configuration_service.rb', line 4

def self.current
  @current ||= PeakFlowUtils::ConfigurationService.new
end