Method: Planify::Plan#max
- Defined in:
- lib/planify/plan.rb
#max(limitable, limit) ⇒ Object
Sets the maximum number of a Planify::Limitable that a user can create on this plan
16 17 18 |
# File 'lib/planify/plan.rb', line 16 def max(limitable, limit) @limits.set(limitable, limit) end |