Contains methods and attributes that act on the response returned from the request
# File lib/github_api/response.rb, line 14 def self.define_parser(&block) @parser = block end
# File lib/github_api/response.rb, line 22 def parse_response?(env) env[:body].respond_to? :to_str end
# File lib/github_api/response.rb, line 18 def response_type(env) env[:response_headers][CONTENT_TYPE].to_s end