Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Commit

Permalink
Merge 3ce2265 into a9dd4b6
Browse files Browse the repository at this point in the history
  • Loading branch information
yorinasub17 committed Jun 8, 2015
2 parents a9dd4b6 + 3ce2265 commit 3b01445
Show file tree
Hide file tree
Showing 28 changed files with 490 additions and 111 deletions.
1 change: 0 additions & 1 deletion .travis.yml
@@ -1,6 +1,5 @@
language: python
python:
- "2.6"
- "2.7"
install:
- pip install -r requirements.txt --use-mirrors
Expand Down
Binary file modified docs/build/doctrees/advanced-usage.doctree
Binary file not shown.
Binary file modified docs/build/doctrees/basic-usage.doctree
Binary file not shown.
Binary file modified docs/build/doctrees/change-log.doctree
Binary file not shown.
Binary file modified docs/build/doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/build/doctrees/index.doctree
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/build/html/.buildinfo
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: b6a1caa31e790a649747c0291086b745
config: 9e45f50fc0142425855742cc4d1f8f38
tags: 645f666f9bcd5a90fca523b33c5a78b7
2 changes: 1 addition & 1 deletion docs/build/html/_sources/basic-usage.txt
Expand Up @@ -15,7 +15,7 @@ In the following example, the call to the :meth:`~recurly.Account.save` method o
>>> with mocurly():
>>> recurly.Account(account_code='foo').save()

Note that you still have to set the `API_KEY` and `SUBDOMAIN` on the Recurly instance, since the Recurly client itself has assertions to make sure they are set. However, the values you use do not matter. They also can be set outside the Mocurly context, as in the example.
Note that you still have to set the `API_KEY` and `SUBDOMAIN` on the Recurly instance, since the Recurly client itself has assertions to make sure they are set. However, the values you use do not matter. They also have to be set outside the Mocurly context, as in the example.

Mocurly can be used as a decorator, context manager, or manually. In all 3 cases, the Mocurly context is reset at the start of the invocation.

Expand Down
11 changes: 11 additions & 0 deletions docs/build/html/_sources/change-log.txt
Expand Up @@ -4,6 +4,17 @@
Change log
==========

0.2
-----

- Deprecate transaction refund
- Implement invoice refund (by line item, and by amount)

0.1.3
-----

- Implement listing of invoices from account

0.1.2
-----

Expand Down
12 changes: 6 additions & 6 deletions docs/build/html/advanced-usage.html
Expand Up @@ -6,15 +6,15 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Advanced Usage &mdash; mocurly 0.1.1 documentation</title>
<title>Advanced Usage &mdash; mocurly 0.2.0 documentation</title>

<link rel="stylesheet" href="_static/default.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />

<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '0.1.1',
VERSION: '0.2.0',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
Expand All @@ -23,7 +23,7 @@
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="top" title="mocurly 0.1.1 documentation" href="index.html" />
<link rel="top" title="mocurly 0.2.0 documentation" href="index.html" />
<link rel="prev" title="Basic Usage" href="basic-usage.html" />
</head>
<body>
Expand All @@ -39,7 +39,7 @@ <h3>Navigation</h3>
<li class="right" >
<a href="basic-usage.html" title="Basic Usage"
accesskey="P">previous</a> |</li>
<li><a href="index.html">mocurly 0.1.1 documentation</a> &raquo;</li>
<li><a href="index.html">mocurly 0.2.0 documentation</a> &raquo;</li>
</ul>
</div>

Expand All @@ -52,7 +52,7 @@ <h3>Navigation</h3>
<h1>Advanced Usage<a class="headerlink" href="#advanced-usage" title="Permalink to this headline"></a></h1>
<div class="section" id="error-handling">
<h2>Error handling<a class="headerlink" href="#error-handling" title="Permalink to this headline"></a></h2>
<p>Mocurly supports simulating certain error scenarios that commonly occur through the use of Recurly. Currently, as of version 0.1.1, Mocurly supports the following three scenarios:</p>
<p>Mocurly supports simulating certain error scenarios that commonly occur through the use of Recurly. Currently, as of version 0.2.0, Mocurly supports the following three scenarios:</p>
<ul class="simple">
<li><a class="reference internal" href="#request-timeout">Request timeout</a></li>
<li><a class="reference internal" href="#request-timeout-with-a-successful-post">Request timeout with a successful POST</a></li>
Expand Down Expand Up @@ -183,7 +183,7 @@ <h3>Navigation</h3>
<li class="right" >
<a href="basic-usage.html" title="Basic Usage"
>previous</a> |</li>
<li><a href="index.html">mocurly 0.1.1 documentation</a> &raquo;</li>
<li><a href="index.html">mocurly 0.2.0 documentation</a> &raquo;</li>
</ul>
</div>
<div class="footer">
Expand Down
10 changes: 5 additions & 5 deletions docs/build/html/api-documentation.html
Expand Up @@ -6,15 +6,15 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>API Documentation &mdash; mocurly 0.1.1 documentation</title>
<title>API Documentation &mdash; mocurly 0.2.0 documentation</title>

<link rel="stylesheet" href="_static/default.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />

<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '0.1.1',
VERSION: '0.2.0',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
Expand All @@ -23,7 +23,7 @@
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="top" title="mocurly 0.1.1 documentation" href="index.html" />
<link rel="top" title="mocurly 0.2.0 documentation" href="index.html" />
<link rel="next" title="Basic Usage" href="basic-usage.html" />
<link rel="prev" title="Mocurly" href="index.html" />
</head>
Expand All @@ -43,7 +43,7 @@ <h3>Navigation</h3>
<li class="right" >
<a href="index.html" title="Mocurly"
accesskey="P">previous</a> |</li>
<li><a href="index.html">mocurly 0.1.1 documentation</a> &raquo;</li>
<li><a href="index.html">mocurly 0.2.0 documentation</a> &raquo;</li>
</ul>
</div>

Expand Down Expand Up @@ -183,7 +183,7 @@ <h3>Navigation</h3>
<li class="right" >
<a href="index.html" title="Mocurly"
>previous</a> |</li>
<li><a href="index.html">mocurly 0.1.1 documentation</a> &raquo;</li>
<li><a href="index.html">mocurly 0.2.0 documentation</a> &raquo;</li>
</ul>
</div>
<div class="footer">
Expand Down
12 changes: 6 additions & 6 deletions docs/build/html/basic-usage.html
Expand Up @@ -6,15 +6,15 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Basic Usage &mdash; mocurly 0.1.1 documentation</title>
<title>Basic Usage &mdash; mocurly 0.2.0 documentation</title>

<link rel="stylesheet" href="_static/default.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />

<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '0.1.1',
VERSION: '0.2.0',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
Expand All @@ -23,7 +23,7 @@
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="top" title="mocurly 0.1.1 documentation" href="index.html" />
<link rel="top" title="mocurly 0.2.0 documentation" href="index.html" />
<link rel="next" title="Advanced Usage" href="advanced-usage.html" />
<link rel="prev" title="API Documentation" href="api-documentation.html" />
</head>
Expand All @@ -43,7 +43,7 @@ <h3>Navigation</h3>
<li class="right" >
<a href="api-documentation.html" title="API Documentation"
accesskey="P">previous</a> |</li>
<li><a href="index.html">mocurly 0.1.1 documentation</a> &raquo;</li>
<li><a href="index.html">mocurly 0.2.0 documentation</a> &raquo;</li>
</ul>
</div>

Expand All @@ -64,7 +64,7 @@ <h1>Basic Usage<a class="headerlink" href="#basic-usage" title="Permalink to thi
<span class="gp">&gt;&gt;&gt; </span> <span class="n">recurly</span><span class="o">.</span><span class="n">Account</span><span class="p">(</span><span class="n">account_code</span><span class="o">=</span><span class="s">&#39;foo&#39;</span><span class="p">)</span><span class="o">.</span><span class="n">save</span><span class="p">()</span>
</pre></div>
</div>
<p>Note that you still have to set the <cite>API_KEY</cite> and <cite>SUBDOMAIN</cite> on the Recurly instance, since the Recurly client itself has assertions to make sure they are set. However, the values you use do not matter. They also can be set outside the Mocurly context, as in the example.</p>
<p>Note that you still have to set the <cite>API_KEY</cite> and <cite>SUBDOMAIN</cite> on the Recurly instance, since the Recurly client itself has assertions to make sure they are set. However, the values you use do not matter. They also have to be set outside the Mocurly context, as in the example.</p>
<p>Mocurly can be used as a decorator, context manager, or manually. In all 3 cases, the Mocurly context is reset at the start of the invocation.</p>
<div class="section" id="mocurly-as-decorator">
<h2>Mocurly as decorator<a class="headerlink" href="#mocurly-as-decorator" title="Permalink to this headline"></a></h2>
Expand Down Expand Up @@ -161,7 +161,7 @@ <h3>Navigation</h3>
<li class="right" >
<a href="api-documentation.html" title="API Documentation"
>previous</a> |</li>
<li><a href="index.html">mocurly 0.1.1 documentation</a> &raquo;</li>
<li><a href="index.html">mocurly 0.2.0 documentation</a> &raquo;</li>
</ul>
</div>
<div class="footer">
Expand Down
29 changes: 22 additions & 7 deletions docs/build/html/change-log.html
Expand Up @@ -6,15 +6,15 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Change log &mdash; mocurly 0.1.1 documentation</title>
<title>Change log &mdash; mocurly 0.2.0 documentation</title>

<link rel="stylesheet" href="_static/default.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />

<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '0.1.1',
VERSION: '0.2.0',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
Expand All @@ -23,7 +23,7 @@
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="top" title="mocurly 0.1.1 documentation" href="index.html" />
<link rel="top" title="mocurly 0.2.0 documentation" href="index.html" />
</head>
<body>
<div class="related">
Expand All @@ -35,7 +35,7 @@ <h3>Navigation</h3>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li><a href="index.html">mocurly 0.1.1 documentation</a> &raquo;</li>
<li><a href="index.html">mocurly 0.2.0 documentation</a> &raquo;</li>
</ul>
</div>

Expand All @@ -47,7 +47,20 @@ <h3>Navigation</h3>
<div class="section" id="change-log">
<span id="id1"></span><h1>Change log<a class="headerlink" href="#change-log" title="Permalink to this headline"></a></h1>
<div class="section" id="id2">
<h2>0.1.2<a class="headerlink" href="#id2" title="Permalink to this headline"></a></h2>
<h2>0.2<a class="headerlink" href="#id2" title="Permalink to this headline"></a></h2>
<ul class="simple">
<li>Deprecate transaction refund</li>
<li>Implement invoice refund (by line item, and by amount)</li>
</ul>
</div>
<div class="section" id="id3">
<h2>0.1.3<a class="headerlink" href="#id3" title="Permalink to this headline"></a></h2>
<ul class="simple">
<li>Implement listing of invoices from account</li>
</ul>
</div>
<div class="section" id="id4">
<h2>0.1.2<a class="headerlink" href="#id4" title="Permalink to this headline"></a></h2>
<ul class="simple">
<li>Implement adjustment creations for one time transactions</li>
</ul>
Expand All @@ -63,7 +76,9 @@ <h2>0.1.2<a class="headerlink" href="#id2" title="Permalink to this headline">¶
<h3><a href="index.html">Table Of Contents</a></h3>
<ul>
<li><a class="reference internal" href="#">Change log</a><ul>
<li><a class="reference internal" href="#id2">0.1.2</a></li>
<li><a class="reference internal" href="#id2">0.2</a></li>
<li><a class="reference internal" href="#id3">0.1.3</a></li>
<li><a class="reference internal" href="#id4">0.1.2</a></li>
</ul>
</li>
</ul>
Expand Down Expand Up @@ -99,7 +114,7 @@ <h3>Navigation</h3>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li><a href="index.html">mocurly 0.1.1 documentation</a> &raquo;</li>
<li><a href="index.html">mocurly 0.2.0 documentation</a> &raquo;</li>
</ul>
</div>
<div class="footer">
Expand Down
10 changes: 5 additions & 5 deletions docs/build/html/genindex.html
Expand Up @@ -7,15 +7,15 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Index &mdash; mocurly 0.1.1 documentation</title>
<title>Index &mdash; mocurly 0.2.0 documentation</title>

<link rel="stylesheet" href="_static/default.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />

<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '0.1.1',
VERSION: '0.2.0',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
Expand All @@ -24,7 +24,7 @@
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="top" title="mocurly 0.1.1 documentation" href="index.html" />
<link rel="top" title="mocurly 0.2.0 documentation" href="index.html" />
</head>
<body>
<div class="related">
Expand All @@ -36,7 +36,7 @@ <h3>Navigation</h3>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li><a href="index.html">mocurly 0.1.1 documentation</a> &raquo;</li>
<li><a href="index.html">mocurly 0.2.0 documentation</a> &raquo;</li>
</ul>
</div>

Expand Down Expand Up @@ -148,7 +148,7 @@ <h3>Navigation</h3>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li><a href="index.html">mocurly 0.1.1 documentation</a> &raquo;</li>
<li><a href="index.html">mocurly 0.2.0 documentation</a> &raquo;</li>
</ul>
</div>
<div class="footer">
Expand Down
12 changes: 6 additions & 6 deletions docs/build/html/index.html
Expand Up @@ -6,15 +6,15 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Mocurly &mdash; mocurly 0.1.1 documentation</title>
<title>Mocurly &mdash; mocurly 0.2.0 documentation</title>

<link rel="stylesheet" href="_static/default.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />

<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '0.1.1',
VERSION: '0.2.0',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
Expand All @@ -23,7 +23,7 @@
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="top" title="mocurly 0.1.1 documentation" href="#" />
<link rel="top" title="mocurly 0.2.0 documentation" href="#" />
<link rel="next" title="API Documentation" href="api-documentation.html" />
</head>
<body>
Expand All @@ -39,7 +39,7 @@ <h3>Navigation</h3>
<li class="right" >
<a href="api-documentation.html" title="API Documentation"
accesskey="N">next</a> |</li>
<li><a href="#">mocurly 0.1.1 documentation</a> &raquo;</li>
<li><a href="#">mocurly 0.2.0 documentation</a> &raquo;</li>
</ul>
</div>

Expand All @@ -56,7 +56,7 @@ <h1>Mocurly<a class="headerlink" href="#mocurly" title="Permalink to this headli
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Author:</th><td class="field-body">Captricity</td>
</tr>
<tr class="field-even field"><th class="field-name">Version:</th><td class="field-body">0.1.1</td>
<tr class="field-even field"><th class="field-name">Version:</th><td class="field-body">0.2.0</td>
</tr>
<tr class="field-odd field"><th class="field-name">Date:</th><td class="field-body">2014/09/03</td>
</tr>
Expand Down Expand Up @@ -201,7 +201,7 @@ <h3>Navigation</h3>
<li class="right" >
<a href="api-documentation.html" title="API Documentation"
>next</a> |</li>
<li><a href="#">mocurly 0.1.1 documentation</a> &raquo;</li>
<li><a href="#">mocurly 0.2.0 documentation</a> &raquo;</li>
</ul>
</div>
<div class="footer">
Expand Down
2 changes: 1 addition & 1 deletion docs/build/html/objects.inv
@@ -1,6 +1,6 @@
# Sphinx inventory version 2
# Project: mocurly
# Version: 0.1
# Version: 0.2
# The remainder of this file is compressed using zlib.
xڭ��j�0E����f+�l�Y����4�z����c�4�tѸۣ{4s�Gc��/`1;���@m��*?=ԝx���dGp���[g5��wg 5gގ����P� ��4��`¤�e��)v.��T�CK��v)��"m`?H���]��;_ʽ�V��{
�bc����jj��;[;d��o��f�$�XO1˸I�_?���n�ֲPj$a`ԷtsA�r���J���4��&�KvMyՅ���k����;�
Expand Down

0 comments on commit 3b01445

Please sign in to comment.