summaryrefslogtreecommitdiff
path: root/lib/api/entities/plan_limit.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-03-16 18:18:33 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-03-16 18:18:33 +0000
commitf64a639bcfa1fc2bc89ca7db268f594306edfd7c (patch)
treea2c3c2ebcc3b45e596949db485d6ed18ffaacfa1 /lib/api/entities/plan_limit.rb
parentbfbc3e0d6583ea1a91f627528bedc3d65ba4b10f (diff)
downloadgitlab-ce-f64a639bcfa1fc2bc89ca7db268f594306edfd7c.tar.gz
Add latest changes from gitlab-org/gitlab@13-10-stable-eev13.10.0-rc40
Diffstat (limited to 'lib/api/entities/plan_limit.rb')
-rw-r--r--lib/api/entities/plan_limit.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/api/entities/plan_limit.rb b/lib/api/entities/plan_limit.rb
new file mode 100644
index 00000000000..40e8b348c18
--- /dev/null
+++ b/lib/api/entities/plan_limit.rb
@@ -0,0 +1,14 @@
+# frozen_string_literal: true
+
+module API
+ module Entities
+ class PlanLimit < Grape::Entity
+ expose :conan_max_file_size
+ expose :generic_packages_max_file_size
+ expose :maven_max_file_size
+ expose :npm_max_file_size
+ expose :nuget_max_file_size
+ expose :pypi_max_file_size
+ end
+ end
+end