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 379
def initialize(message, io, uri)
  super(message, io)
  @uri = uri
end
Calls superclass method OpenURI::HTTPError::new

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