'List all IP blocks
:return:    ``list`` of class ``ProfitBricksIPBlock``
:rtype:     `list`'

def ex_list_ip_blocks(self):

    response = self.connection.request(action='ipblocks', params={'depth': 3}, method='GET')
    return self._to_ip_blocks(response.object)
