class OpenURI::HTTPRedirect

Parent:
OpenURI::HTTPError

Raised on redirection, only occurs when redirect option for HTTP is false.

Attributes

uri[R]

Public Class Methods

new(message, io, uri) Show source
# File lib/open-uri.rb, line 374
def initialize(message, io, uri)
  super(message, io)
  @uri = uri
end
Calls superclass method OpenURI::HTTPError.new

Ruby Core © 1993–2017 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.