class Github::ResponseWrapper

def [](key)


Convert any key to string before calling.
Lookup an attribute from the body if hash, otherwise behave like array index.
def [](key)
  if self.body.is_a?(Array)
    self.body[key]
  else
    self.body.send(:"#{key}")
  end
end