Class: KalibroClient::Entities::Processor::Project

Inherits:
Base
  • Object
show all
Defined in:
lib/kalibro_client/entities/processor/project.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

address

Methods inherited from Base

#kalibro_errors, module_name

Instance Attribute Details

#descriptionObject

Returns the value of attribute description.



22
23
24
# File 'lib/kalibro_client/entities/processor/project.rb', line 22

def description
  @description
end

#idObject

Returns the value of attribute id.



22
23
24
# File 'lib/kalibro_client/entities/processor/project.rb', line 22

def id
  @id
end

#nameObject

Returns the value of attribute name.



22
23
24
# File 'lib/kalibro_client/entities/processor/project.rb', line 22

def name
  @name
end

Instance Method Details

#repositoriesObject



28
29
30
# File 'lib/kalibro_client/entities/processor/project.rb', line 28

def repositories
  Repository.create_objects_array_from_hash(self.class.request(':id/repositories', {id: id}, :get))
end