Class: Aliyun::ESS::ScalingRule::Response

Inherits:
Base::Response show all
Defined in:
lib/aliyun/ess/response.rb

Instance Attribute Summary

Attributes inherited from Base::Response

#body, #parsed, #response

Instance Method Summary collapse

Methods inherited from Base::Response

#[], #code, #each, #error, #error?, #headers, #initialize, #inspect

Methods inherited from String

#camelize, #remove_extended, #remove_extended!, #underscore, #valid_utf8?

Constructor Details

This class inherits a constructor from Aliyun::ESS::Base::Response

Instance Method Details

#itemsObject



75
76
77
# File 'lib/aliyun/ess/response.rb', line 75

def items
  (parsed['scaling_rules'] && parsed['scaling_rules']['scaling_rule']) || []
end