Class: Ey::Core::Client::StepAutoScalingPolicy
- Inherits:
-
BaseAutoScalingPolicy
- Object
- Cistern::Model
- Model
- BaseAutoScalingPolicy
- Ey::Core::Client::StepAutoScalingPolicy
- Defined in:
- lib/ey-core/models/step_auto_scaling_policy.rb
Instance Method Summary collapse
Methods inherited from BaseAutoScalingPolicy
Methods included from Associations
#assoc_accessor, #assoc_coverage, #assoc_reader, #assoc_writer, #associations, #collection_reader
Methods inherited from Model
#destroy, range_parser, #save, #to_s, #update!, #url
Instance Method Details
#policy_params ⇒ Object
11 12 13 14 15 16 17 18 19 |
# File 'lib/ey-core/models/step_auto_scaling_policy.rb', line 11 def policy_params { "estimated_warmup" => estimated_warmup, "action_type" => action_type, "action_unit" => action_unit, "steps" => steps, "type" => type } end |
#policy_requires ⇒ Object
21 22 23 |
# File 'lib/ey-core/models/step_auto_scaling_policy.rb', line 21 def policy_requires requires :steps, :action_unit, :action_type, :estimated_warmup end |