2013-07-17 13:35:36 +01:00
|
|
|
json.repository do
|
2014-01-21 04:51:49 +00:00
|
|
|
json.partial! 'repository', repository: @repository
|
2012-10-19 14:52:36 +01:00
|
|
|
json.(@repository, :description, :publish_without_qa)
|
2012-09-05 14:47:25 +01:00
|
|
|
json.created_at @repository.created_at.to_i
|
|
|
|
json.updated_at @repository.updated_at.to_i
|
2013-07-17 13:35:36 +01:00
|
|
|
json.platform do
|
|
|
|
json.(@repository.platform, :id, :name)
|
2014-01-21 04:51:49 +00:00
|
|
|
json.url api_v1_platform_path(@repository.platform, format: :json)
|
2012-08-17 14:40:57 +01:00
|
|
|
end
|
2012-10-19 14:52:36 +01:00
|
|
|
end
|