diff options
author | James Lopez <james@jameslopez.es> | 2018-02-12 12:40:55 +0100 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2018-02-13 15:25:47 +0100 |
commit | 848f49801d2c45227c525fb5ecdf8b71e7711ded (patch) | |
tree | 9ab7e1387d74eb276423ec96490bcff0f2cd62eb /lib/api/entities.rb | |
parent | de3edb7178bd7df2f72ef403e57bfdf4e6f732df (diff) | |
download | gitlab-ce-848f49801d2c45227c525fb5ecdf8b71e7711ded.tar.gz |
add entity and update spec
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r-- | lib/api/entities.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 7838de13c56..8fbad2b6959 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -90,6 +90,11 @@ module API expose :created_at end + class ProjectImportStatus < ProjectIdentity + expose :import_status + expose :import_error, if: :import_error + end + class BasicProjectDetails < ProjectIdentity include ::API::ProjectsRelationBuilder |