Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

Commit

Permalink
Autodocs for CheckProxyRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlaLlama committed Feb 8, 2016
1 parent 3911edf commit 51da97b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 14 deletions.
19 changes: 8 additions & 11 deletions docs/http-proxy.rst
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
vumi-http-proxy Package
================
=======================



:mod: `vumi-http-proxy` Package
--------------------

.. automodule:: vumi-http-proxy.__init__
:members:
:undoc-members:
:show-inheritance:

:mod: `http_proxy` Module
---------------------------
.. py:module:: vumi_http_proxy.http_proxy
.. automodule:: vumi-http-proxy.http_proxy
.. autoclass:: CheckProxyRequest
:members:
:undoc-members:
:show-inheritance:
:show-inheritance:
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Contents:
queen-of-ni.rst
http-proxy.rst

.. automodule:: vumi-http-proxy.http_proxy
.. automodule:: vumi-http-proxy
:members:


Expand Down
6 changes: 4 additions & 2 deletions vumi_http_proxy/http_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,12 @@ def __init__(self, blacklist, resolver, http_client):


class Initialize(object):
"""This class initialises the proxy based on the configuration specified
"""
This class initialises the proxy based on the configuration specified
"""
def __init__(self, blacklist, dnsservers, ip, port):
""" :param blacklist: List of disallowed ip addresses.
"""
:param blacklist: List of disallowed ip addresses.
:type blacklist: list
:param dnservers: List of manual dns servers to use.
:type dnsservers: list
Expand Down

0 comments on commit 51da97b

Please sign in to comment.