Exemplo n.º 1
0
    def distributions(self, **params):
        """ Method for `List Distributions <https://m2x.att.com/developer/documentation/v2/distribution#List-Distributions>`_ endpoint.

        :param params: Query parameters passed as keyword arguments. View M2X API Docs for listing of available parameters.

        :return: List of :class:`.Distribution` objects
        :rtype: `list <https://docs.python.org/2/library/functions.html#list>`_

        :raises: :class:`~requests.exceptions.HTTPError` if an error occurs when sending the HTTP request
        """
        return Distribution.list(self, **params)
Exemplo n.º 2
0
 def distributions(self, **params):
     return Distribution.list(self, **params)
Exemplo n.º 3
0
 def distributions(self, **params):
     return Distribution.list(self, **params)