class HTTP::Response
def parse(as = nil)
-
(Object)
-
Raises:
-
(HTTP::Error)
- if adapter not found
Parameters:
-
as
(#to_s
) -- Parse as given MIME type
def parse(as = nil) MimeType[as || mime_type].decode to_s end
(Object)
-
(HTTP::Error)
- if adapter not found
as
(#to_s
)
-- Parse as given MIME type
def parse(as = nil) MimeType[as || mime_type].decode to_s end