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

Constructor Details

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

Instance Method Details

#error?Boolean

Returns:

  • (Boolean)


133
134
135
# File 'lib/aws/s3/response.rb', line 133

def error? 
  true
end

#inspectObject



137
138
139
# File 'lib/aws/s3/response.rb', line 137

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