Class: Aliyun::ESS::Error::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, #headers, #initialize

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

#error?Boolean

Returns:

  • (Boolean)


106
107
108
# File 'lib/aliyun/ess/response.rb', line 106

def error? 
  true
end

#inspectObject



110
111
112
# File 'lib/aliyun/ess/response.rb', line 110

def inspect
  "#<%s:0x%s %s %s: '%s'>" % [self.class.name, object_id, response.code, error.code, error.message]
end