Exception: Chakin::HttpRedirect

Inherits:
StandardError
  • Object
show all
Defined in:
lib/chakin-rb/chakin.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(new_url) ⇒ HttpRedirect

Returns a new instance of HttpRedirect.



11
12
13
# File 'lib/chakin-rb/chakin.rb', line 11

def initialize(new_url)
  @new_url = new_url
end

Instance Attribute Details

#new_urlObject (readonly)

Returns the value of attribute new_url.



10
11
12
# File 'lib/chakin-rb/chakin.rb', line 10

def new_url
  @new_url
end