class Github::Error::ServiceError

def decode_body(body)

def decode_body(body)
  if body.respond_to?(:to_str) && body.length >= 2
     decode body, :symbolize_keys => true
  else
    body
  end
end