Class: Carioca::Services::Config::Factory

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/carioca/services/config.rb

Overview

the settings object factory

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**keywords) ⇒ Factory

Returns a new instance of Factory.



130
131
132
# File 'lib/carioca/services/config.rb', line 130

def initialize(**keywords)
  @settings = Carioca::Services::Config::Settings.new(**keywords)
end

Instance Attribute Details

#settingsObject

Returns the value of attribute settings.



126
127
128
# File 'lib/carioca/services/config.rb', line 126

def settings
  @settings
end