Method: HTTPX::ContentType#initialize
- Defined in:
- lib/httpx/response.rb
#initialize(mime_type, charset) ⇒ ContentType
Returns a new instance of ContentType.
196 197 198 199 |
# File 'lib/httpx/response.rb', line 196 def initialize(mime_type, charset) @mime_type = mime_type @charset = charset end |