Class: Glib::JsonCrawler::Http::Response

Inherits:
Struct
  • Object
show all
Defined in:
lib/glib/json_crawler/http.rb

Instance Method Summary collapse

Constructor Details

#initializeResponse

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