Skip to content

Commit

Permalink
Correct example documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanprjcts committed Oct 4, 2017
1 parent 0fcf468 commit e247dd2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ Example for cleaning a file.

.. code-block:: python
import metashield_clean_up
from metashield_clean_up.api import MetashieldCleanUp
api = metashield_clean_up.MetashieldCleanUp("APP_ID_HERE", "SECRET_KEY_HERE")
api = MetashieldCleanUp("REPLACE_APP_ID_HERE", "REPLACE_SECRET_KEY_HERE")
response = api.clean_file(stream, "my_file.pdf")
response = api.get_clean_result(response.data["resultId"])
response = api.get_clean_result(response.data["cleanId"])
Run tests
Expand Down
2 changes: 1 addition & 1 deletion metashield_clean_up/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
# License along with this library if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

__version__ = "0.1.1"
__version__ = "0.1.2"

0 comments on commit e247dd2

Please sign in to comment.