Module: Limitable
- Extended by:
- ActiveSupport::Concern
- Included in:
- Ci::GroupVariable, Ci::InstanceVariable, Ci::PipelineSchedule, Ci::RunnerNamespace, Ci::RunnerProject, Ci::SecureFile, Ci::Trigger, Ci::Variable, Operations::FeatureFlag, ProjectHook
- Defined in:
- app/models/concerns/limitable.rb
Constant Summary collapse
- GLOBAL_SCOPE =
:limitable_global_scope
Instance Method Summary collapse
Instance Method Details
#exceeds_limits? ⇒ Boolean
18 19 20 21 22 |
# File 'app/models/concerns/limitable.rb', line 18 def exceeds_limits? limits, relation = fetch_plan_limit_data limits&.exceeded?(limit_name, relation) end |