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