class AWS::S3::Errors::NotModified

This error is special, because S3 does not (and must not according to RFC 2616) return a body with the HTTP response. The interface is the same as for any other client error.

Public Class Methods

new(req, resp) click to toggle source
# File lib/aws/s3/errors.rb, line 57
def initialize(req, resp)
  super(req, resp, "Not Modified")
end

Public Instance Methods

code() click to toggle source
# File lib/aws/s3/errors.rb, line 55
def code; "NotModified"; end