Class: CoreConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/ccios/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(hash) ⇒ CoreConfig

Returns a new instance of CoreConfig.



90
91
92
93
94
# File 'lib/ccios/config.rb', line 90

def initialize(hash)
  @project = hash["project"]
  @interactor = ObjectConfig.new hash["interactor"]
  @repository = ObjectConfig.new hash["repository"]
end

Instance Attribute Details

#interactorObject (readonly)

Returns the value of attribute interactor.



88
89
90
# File 'lib/ccios/config.rb', line 88

def interactor
  @interactor
end

#projectObject (readonly)

Returns the value of attribute project.



88
89
90
# File 'lib/ccios/config.rb', line 88

def project
  @project
end

#repositoryObject (readonly)

Returns the value of attribute repository.



88
89
90
# File 'lib/ccios/config.rb', line 88

def repository
  @repository
end