           # Retrieve the contents of a blob
           # -------
           @getBlob = (sha, isBase64) ->
-            _request 'GET', "#{_repoPath}/git/blobs/#{sha}", null, 'raw', isBase64
+            _request 'GET', "#{_repoPath}/git/blobs/#{sha}", null, {raw:true, isBase64:isBase64}
 
 
           # For a given file path, get the corresponding sha (blob for files, tree for dirs)

            _request 'GET', "/teams/#{@id}/members"

          @isMember = (user) ->
            _request 'GET', "/teams/#{@id}/members/#{user}"

          @addMember = (user) ->
            _request 'PUT', "/teams/#{@id}/members/#{user}"

          # all organization owners are included in the list of collaborators.
          # Otherwise, only users with access to the repository are returned in the collaborators list.
          @getCollaborators = () ->
            _request 'GET', "#{@repoPath}/collaborators", null

          @isCollaborator = (username=null) ->
            throw 'BUG: username is required' if not username
            _request 'GET', "#{@repoPath}/collaborators/#{username}", null, {isBoolean:true}


      # Gist API
