Class: AWS::S3::Error::Response

Inherits:
Base::Response show all
Defined in:
lib/aws/s3/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

#previous, #previous!, #remove_extended, #remove_extended!, #tap, #to_header, #underscore, #valid_utf8?

Constructor Details

This class inherits a constructor from AWS::S3::Base::Response

Instance Method Details

#error?Boolean

Returns:

  • (Boolean)


117
118
119
# File 'lib/aws/s3/response.rb', line 117

def error? 
  true
end

#inspectObject



121
122
123
# File 'lib/aws/s3/response.rb', line 121

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