class Ey::Core::Client::SimpleAutoScalingPolicy

Public Instance Methods

policy_params() click to toggle source
# File lib/ey-core/models/simple_auto_scaling_policy.rb, line 11
def policy_params
  {
    "cooldown"     => cooldown,
    "action_unit"  => action_unit,
    "action_type"  => action_type,
    "action_value" => action_value,
    "type"         => type
  }
end
policy_requires() click to toggle source
# File lib/ey-core/models/simple_auto_scaling_policy.rb, line 21
def policy_requires
  requires :action_value, :action_type, :action_unit
end