class Softlayer::Scale::Policy::Action::Scale

Constants

SERVICE

Attributes

amount[RW]
scale_type[RW]

Public Class Methods

create_object(message) click to toggle source

template_object

# File lib/softlayer/scale/policy/action/scale.rb, line 11
def self.create_object(message)
  request(:create_object, Softlayer::Scale::Policy::Action::Scale, message)
end

Public Instance Methods

delete_object() click to toggle source
# File lib/softlayer/scale/policy/action/scale.rb, line 15
def delete_object
  request(:delete_object, Boolean)
end
edit_object(message) click to toggle source

template_object

# File lib/softlayer/scale/policy/action/scale.rb, line 20
def edit_object(message)
  request(:edit_object, Boolean, message)
end
get_object() click to toggle source
# File lib/softlayer/scale/policy/action/scale.rb, line 24
def get_object
  request(:get_object, Softlayer::Scale::Policy::Action::Scale)
end
get_scale_policy() click to toggle source
# File lib/softlayer/scale/policy/action/scale.rb, line 28
def get_scale_policy
  request(:get_scale_policy, Softlayer::Scale::Policy)
end
get_type() click to toggle source
# File lib/softlayer/scale/policy/action/scale.rb, line 32
def get_type
  request(:get_type, Softlayer::Scale::Policy::Action::Type)
end