Class: Wsv::Response::FileBuilder
- Inherits:
-
Object
- Object
- Wsv::Response::FileBuilder
- Defined in:
- lib/wsv/response/file_builder.rb
Instance Method Summary collapse
- #build ⇒ Object
-
#initialize(path, head: false, range: nil, status: 200) ⇒ FileBuilder
constructor
A new instance of FileBuilder.
Constructor Details
#initialize(path, head: false, range: nil, status: 200) ⇒ FileBuilder
Returns a new instance of FileBuilder.
9 10 11 12 13 14 |
# File 'lib/wsv/response/file_builder.rb', line 9 def initialize(path, head: false, range: nil, status: 200) @path = path @head = head @range = range @status = status end |