class Github::Response

request
Contains methods and attributes that act on the response returned from the

def self.define_parser(&block)

def self.define_parser(&block)
  @parser = block
end

def parse_response?(env)

def parse_response?(env)
  env[:body].respond_to? :to_str
end

def response_type(env)

def response_type(env)
  env[:response_headers][CONTENT_TYPE].to_s
end