Class: Aliyun::ESS::ScalingGroup::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



67
68
69
# File 'lib/aliyun/ess/response.rb', line 67

def items
  (parsed['scaling_groups'] && parsed['scaling_groups']['scaling_group']) || []
end