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!, #to_header, #underscore

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
  "#<#{self.class.name}:0x#{object_id}  #{response.code} #{error.code}: '#{error.message}'>"
end