04a14e Add an `api` argument to the to_json method of PullRequest

Authored and Committed by Pierre-Yves Chibon 10 years ago
    Add an `api` argument to the to_json method of PullRequest
    
    The JSON representation of the PullRequest objects do not necessarily need
    to contain the settings info of the projects, so allow removing it.
    
        
file modified
+3 -3