Class: Tabulatr::Responses::RedirectResponse
- Inherits:
-
DirectResponse
- Object
- DirectResponse
- Tabulatr::Responses::RedirectResponse
- Defined in:
- lib/tabulatr/responses/redirect_response.rb
Instance Attribute Summary collapse
-
#ids ⇒ Object
Returns the value of attribute ids.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(url, ids: nil) ⇒ RedirectResponse
constructor
A new instance of RedirectResponse.
Constructor Details
#initialize(url, ids: nil) ⇒ RedirectResponse
Returns a new instance of RedirectResponse.
4 5 6 7 |
# File 'lib/tabulatr/responses/redirect_response.rb', line 4 def initialize(url, ids: nil) @url = url @ids = ids end |
Instance Attribute Details
#ids ⇒ Object
Returns the value of attribute ids.
2 3 4 |
# File 'lib/tabulatr/responses/redirect_response.rb', line 2 def ids @ids end |
#url ⇒ Object
Returns the value of attribute url.
2 3 4 |
# File 'lib/tabulatr/responses/redirect_response.rb', line 2 def url @url end |