class Ey::Core::Client::StepAutoScalingPolicy

Public Instance Methods

policy_params() click to toggle source
# 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() click to toggle source
# File lib/ey-core/models/step_auto_scaling_policy.rb, line 21
def policy_requires
  requires :steps, :action_unit, :action_type, :estimated_warmup
end