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.
45 46 47 48 49 |
# File 'lib/glib/json_crawler/http.rb', line 45 def initialize(*) super self.headers ||= {} self.media_type ||= 'text/plain' end |