Class: DataConfig

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(hash) ⇒ DataConfig

Returns a new instance of DataConfig.



100
101
102
103
# File 'lib/ccios/config.rb', line 100

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

Instance Attribute Details

#projectObject (readonly)

Returns the value of attribute project.



98
99
100
# File 'lib/ccios/config.rb', line 98

def project
  @project
end

#repositoryObject (readonly)

Returns the value of attribute repository.



98
99
100
# File 'lib/ccios/config.rb', line 98

def repository
  @repository
end