Exception: Chakin::HttpRedirect
- Inherits:
-
StandardError
- Object
- StandardError
- Chakin::HttpRedirect
- Defined in:
- lib/chakin-rb/chakin.rb
Instance Attribute Summary collapse
-
#new_url ⇒ Object
readonly
Returns the value of attribute new_url.
Instance Method Summary collapse
-
#initialize(new_url) ⇒ HttpRedirect
constructor
A new instance of HttpRedirect.
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_url ⇒ Object (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 |