Class: Tabulatr::Responses::RedirectResponse

Inherits:
DirectResponse show all
Defined in:
lib/tabulatr/responses/redirect_response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#idsObject

Returns the value of attribute ids.



2
3
4
# File 'lib/tabulatr/responses/redirect_response.rb', line 2

def ids
  @ids
end

#urlObject

Returns the value of attribute url.



2
3
4
# File 'lib/tabulatr/responses/redirect_response.rb', line 2

def url
  @url
end