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.



102
103
104
105
106
# File 'lib/ccios/config.rb', line 102

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

Instance Attribute Details

#projectObject (readonly)

Returns the value of attribute project.



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

def project
  @project
end

#repositoryObject (readonly)

Returns the value of attribute repository.



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

def repository
  @repository
end

#targetObject (readonly)

Returns the value of attribute target.



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

def target
  @target
end