Class: RubstApi::HTMLResponse
- Defined in:
- lib/rubst_api/responses.rb
Instance Attribute Summary
Attributes inherited from Response
#body, #headers, #media_type, #status_code
Instance Method Summary collapse
-
#initialize(content = nil, **options) ⇒ HTMLResponse
constructor
A new instance of HTMLResponse.
Methods inherited from Response
#delete_cookie, #finish, #render, #set_cookie
Constructor Details
#initialize(content = nil, **options) ⇒ HTMLResponse
Returns a new instance of HTMLResponse.
36 |
# File 'lib/rubst_api/responses.rb', line 36 def initialize(content = nil, **) = super(content, media_type: "text/html; charset=utf-8", **) |