Skip to content

Commit

Permalink
use last_request and last_response instead of latest_request, latest_…
Browse files Browse the repository at this point in the history
…response
  • Loading branch information
Mathilde committed Apr 29, 2019
1 parent 82caab9 commit 730839d
Show file tree
Hide file tree
Showing 9 changed files with 67 additions and 54 deletions.
Binary file modified docs/_build/doctrees/advanced_usage.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/api.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/environment.pickle
Binary file not shown.
6 changes: 3 additions & 3 deletions docs/_build/html/_sources/advanced_usage.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
Advanced usage
==============

Get the latest request and response
Get the last request and response
-----------------------------------

::
>>> api.seller.get_seller_information()
>>> api.latest_request
>>> api.latest_response
>>> api.last_request
>>> api.last_response


Use a configuration file
Expand Down
10 changes: 5 additions & 5 deletions docs/_build/html/advanced_usage.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ <h3>Navigation</h3>

<div class="section" id="advanced-usage">
<span id="id1"></span><h1>Advanced usage<a class="headerlink" href="#advanced-usage" title="Permalink to this headline"></a></h1>
<div class="section" id="get-the-latest-request-and-response">
<h2>Get the latest request and response<a class="headerlink" href="#get-the-latest-request-and-response" title="Permalink to this headline"></a></h2>
<div class="section" id="get-the-last-request-and-response">
<h2>Get the last request and response<a class="headerlink" href="#get-the-last-request-and-response" title="Permalink to this headline"></a></h2>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="gp">&gt;&gt;&gt; </span><span class="n">api</span><span class="o">.</span><span class="n">seller</span><span class="o">.</span><span class="n">get_seller_information</span><span class="p">()</span>
<span class="gp">&gt;&gt;&gt; </span><span class="n">api</span><span class="o">.</span><span class="n">latest_request</span>
<span class="gp">&gt;&gt;&gt; </span><span class="n">api</span><span class="o">.</span><span class="n">latest_response</span>
<span class="gp">&gt;&gt;&gt; </span><span class="n">api</span><span class="o">.</span><span class="n">last_request</span>
<span class="gp">&gt;&gt;&gt; </span><span class="n">api</span><span class="o">.</span><span class="n">last_response</span>
</pre></div>
</div>
</div>
Expand Down Expand Up @@ -133,7 +133,7 @@ <h3>Acceptation states<a class="headerlink" href="#acceptation-states" title="Pe
<h3><a href="index.html">Table of Contents</a></h3>
<ul>
<li><a class="reference internal" href="#">Advanced usage</a><ul>
<li><a class="reference internal" href="#get-the-latest-request-and-response">Get the latest request and response</a></li>
<li><a class="reference internal" href="#get-the-last-request-and-response">Get the last request and response</a></li>
<li><a class="reference internal" href="#use-a-configuration-file">Use a configuration file</a></li>
<li><a class="reference internal" href="#available-states-for-the-seller">Available states for the seller</a><ul>
<li><a class="reference internal" href="#states-for-an-order">States for an order</a></li>
Expand Down
95 changes: 54 additions & 41 deletions docs/_build/html/api.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/_build/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ <h1>Welcome to CdiscountAPI’s documentation!<a class="headerlink" href="#welco
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="advanced_usage.html">Advanced usage</a><ul>
<li class="toctree-l2"><a class="reference internal" href="advanced_usage.html#get-the-latest-request-and-response">Get the latest request and response</a></li>
<li class="toctree-l2"><a class="reference internal" href="advanced_usage.html#get-the-last-request-and-response">Get the last request and response</a></li>
<li class="toctree-l2"><a class="reference internal" href="advanced_usage.html#use-a-configuration-file">Use a configuration file</a></li>
<li class="toctree-l2"><a class="reference internal" href="advanced_usage.html#available-states-for-the-seller">Available states for the seller</a></li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/searchindex.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/advanced_usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
Advanced usage
==============

Get the latest request and response
Get the last request and response
-----------------------------------

::
>>> api.seller.get_seller_information()
>>> api.latest_request
>>> api.latest_response
>>> api.last_request
>>> api.last_response


Use a configuration file
Expand Down

0 comments on commit 730839d

Please sign in to comment.