Module: Ufo::Concerns::Autoscaling
- Defined in:
- lib/ufo/concerns/autoscaling.rb
Instance Method Summary collapse
Instance Method Details
#autoscaling ⇒ Object
7 8 9 |
# File 'lib/ufo/concerns/autoscaling.rb', line 7 def autoscaling Ufo.config.autoscaling end |
#autoscaling_enabled? ⇒ Boolean
3 4 5 |
# File 'lib/ufo/concerns/autoscaling.rb', line 3 def autoscaling_enabled? autoscaling.enabled && autoscaling.min_capacity && autoscaling.max_capacity end |