Class: Glib::JsonCrawler::Http::Response
- Inherits:
-
Struct
- Object
- Struct
- Glib::JsonCrawler::Http::Response
- Defined in:
- lib/glib/json_crawler/http.rb
Instance Method Summary collapse
-
#initialize ⇒ Response
constructor
A new instance of Response.
Constructor Details
#initialize ⇒ Response
Returns a new instance of Response.
44 45 46 47 48 |
# File 'lib/glib/json_crawler/http.rb', line 44 def initialize(*) super self.headers ||= {} self.media_type ||= 'text/plain' end |