-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
251 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
HTTP/1.1 201 Created | ||
Content-Type: application/xml; charset=utf-8 | ||
|
||
<?xml version="1.0" encoding="UTF-8"?> | ||
<general_ledger_account href="https://api.recurly.com/v2/general_ledger_accounts/u90r5deeaxix"> | ||
<id>u90r5deeaxix</id> | ||
<code>code1</code> | ||
<account_type>revenue</account_type> | ||
<description>string</description> | ||
<created_at type="datetime">2024-01-16T14:34:16Z</created_at> | ||
<updated_at type="datetime">2024-01-16T14:34:16Z</updated_at> | ||
</general_ledger_account> |
78 changes: 78 additions & 0 deletions
78
Tests/fixtures/general_ledger_accounts/index-200-liability.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
HTTP/1.1 200 OK | ||
Content-Type: application/xml; charset=utf-8 | ||
|
||
<?xml version="1.0" encoding="UTF-8"?> | ||
<general_ledger_accounts type="array"> | ||
<general_ledger_account href="https://api.recurly.com/v2/general_ledger_accounts/ty4utwr0mrgz"> | ||
<id>ty4utwr0mrgz</id> | ||
<code>90-557-279-6957</code> | ||
<account_type>liability</account_type> | ||
<description>optimize rich content</description> | ||
<created_at type="datetime">2023-11-22T16:36:34Z</created_at> | ||
<updated_at type="datetime">2023-11-22T16:36:34Z</updated_at> | ||
</general_ledger_account> | ||
<general_ledger_account href="https://api.recurly.com/v2/general_ledger_accounts/twyyzw8vcm36"> | ||
<id>twyyzw8vcm36</id> | ||
<code>45-571-736-1179</code> | ||
<account_type>liability</account_type> | ||
<description>incentivize sexy functionalities</description> | ||
<created_at type="datetime">2023-11-16T19:45:05Z</created_at> | ||
<updated_at type="datetime">2023-11-16T19:45:05Z</updated_at> | ||
</general_ledger_account> | ||
<general_ledger_account href="https://api.recurly.com/v2/general_ledger_accounts/twywtf01wkgb"> | ||
<id>twywtf01wkgb</id> | ||
<code>70-818-669-8644</code> | ||
<account_type>liability</account_type> | ||
<description>generate transparent metrics</description> | ||
<created_at type="datetime">2023-11-16T19:32:52Z</created_at> | ||
<updated_at type="datetime">2023-11-16T19:32:52Z</updated_at> | ||
</general_ledger_account> | ||
<general_ledger_account href="https://api.recurly.com/v2/general_ledger_accounts/twywqfr48v9l"> | ||
<id>twywqfr48v9l</id> | ||
<code>7-271-680-5012</code> | ||
<account_type>liability</account_type> | ||
<description>My main liability account</description> | ||
<created_at type="datetime">2023-11-16T19:32:24Z</created_at> | ||
<updated_at type="datetime">2023-11-16T19:32:24Z</updated_at> | ||
</general_ledger_account> | ||
<general_ledger_account href="https://api.recurly.com/v2/general_ledger_accounts/twyvjlhbnej2"> | ||
<id>twyvjlhbnej2</id> | ||
<code>1234</code> | ||
<account_type>liability</account_type> | ||
<description>My main liability account</description> | ||
<created_at type="datetime">2023-11-16T19:25:44Z</created_at> | ||
<updated_at type="datetime">2023-11-16T19:25:44Z</updated_at> | ||
</general_ledger_account> | ||
<general_ledger_account href="https://api.recurly.com/v2/general_ledger_accounts/trkzlcm2pde8"> | ||
<id>trkzlcm2pde8</id> | ||
<code>validategla</code> | ||
<account_type>liability</account_type> | ||
<description>HOWDY</description> | ||
<created_at type="datetime">2023-10-20T15:22:49Z</created_at> | ||
<updated_at type="datetime">2023-10-20T15:22:49Z</updated_at> | ||
</general_ledger_account> | ||
<general_ledger_account href="https://api.recurly.com/v2/general_ledger_accounts/trkzinjccchm"> | ||
<id>trkzinjccchm</id> | ||
<code>j</code> | ||
<account_type>liability</account_type> | ||
<description>HOWDY</description> | ||
<created_at type="datetime">2023-10-20T15:22:24Z</created_at> | ||
<updated_at type="datetime">2023-10-20T15:22:24Z</updated_at> | ||
</general_ledger_account> | ||
<general_ledger_account href="https://api.recurly.com/v2/general_ledger_accounts/tep8f2u4qq51"> | ||
<id>tep8f2u4qq51</id> | ||
<code>get dat monayyy</code> | ||
<account_type>liability</account_type> | ||
<description>i can has money</description> | ||
<created_at type="datetime">2023-08-16T15:45:40Z</created_at> | ||
<updated_at type="datetime">2023-08-16T15:45:40Z</updated_at> | ||
</general_ledger_account> | ||
<general_ledger_account href="https://api.recurly.com/v2/general_ledger_accounts/tejv6lw4eovy"> | ||
<id>tejv6lw4eovy</id> | ||
<code>demo_liability</code> | ||
<account_type>liability</account_type> | ||
<description>i be descriptin'</description> | ||
<created_at type="datetime">2023-08-15T21:42:35Z</created_at> | ||
<updated_at type="datetime">2023-09-13T15:38:04Z</updated_at> | ||
</general_ledger_account> | ||
</general_ledger_accounts> |
38 changes: 38 additions & 0 deletions
38
Tests/fixtures/general_ledger_accounts/index-200-revenue.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
HTTP/1.1 200 OK | ||
Content-Type: application/xml; charset=utf-8 | ||
|
||
<?xml version="1.0" encoding="UTF-8"?> | ||
<general_ledger_accounts type="array"> | ||
<general_ledger_account href="https://api.recurly.com/v2/general_ledger_accounts/u90r5deeaxix"> | ||
<id>u90r5deeaxix</id> | ||
<code>string</code> | ||
<account_type>revenue</account_type> | ||
<description>string</description> | ||
<created_at type="datetime">2024-01-16T14:34:16Z</created_at> | ||
<updated_at type="datetime">2024-01-16T14:34:16Z</updated_at> | ||
</general_ledger_account> | ||
<general_ledger_account href="https://api.recurly.com/v2/general_ledger_accounts/trl0h3br1dl7"> | ||
<id>trl0h3br1dl7</id> | ||
<code>100</code> | ||
<account_type>revenue</account_type> | ||
<description>HOWDY</description> | ||
<created_at type="datetime">2023-10-20T15:27:46Z</created_at> | ||
<updated_at type="datetime">2023-10-20T15:27:46Z</updated_at> | ||
</general_ledger_account> | ||
<general_ledger_account href="https://api.recurly.com/v2/general_ledger_accounts/trkz0atorlk3"> | ||
<id>trkz0atorlk3</id> | ||
<code>NEW code</code> | ||
<account_type>revenue</account_type> | ||
<description>NEW description</description> | ||
<created_at type="datetime">2023-10-20T15:19:32Z</created_at> | ||
<updated_at type="datetime">2023-10-20T15:29:30Z</updated_at> | ||
</general_ledger_account> | ||
<general_ledger_account href="https://api.recurly.com/v2/general_ledger_accounts/thproqnpcuwp"> | ||
<id>thproqnpcuwp</id> | ||
<code>303</code> | ||
<account_type>revenue</account_type> | ||
<description></description> | ||
<created_at type="datetime">2023-08-31T20:46:04Z</created_at> | ||
<updated_at type="datetime">2023-08-31T20:46:04Z</updated_at> | ||
</general_ledger_account> | ||
</general_ledger_accounts> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
HTTP/1.1 200 OK | ||
Content-Type: application/xml; charset=utf-8 | ||
|
||
<?xml version="1.0" encoding="UTF-8"?> | ||
<general_ledger_accounts type="array"> | ||
<general_ledger_account href="https://api.recurly.com/v2/general_ledger_accounts/u90r5deeaxix"> | ||
<id>u90r5deeaxix</id> | ||
<code>string</code> | ||
<account_type>revenue</account_type> | ||
<description>string</description> | ||
<created_at type="datetime">2024-01-16T14:34:16Z</created_at> | ||
<updated_at type="datetime">2024-01-16T14:34:16Z</updated_at> | ||
</general_ledger_account> | ||
<general_ledger_account href="https://api.recurly.com/v2/general_ledger_accounts/ty4utwr0mrgz"> | ||
<id>ty4utwr0mrgz</id> | ||
<code>90-557-279-6957</code> | ||
<account_type>liability</account_type> | ||
<description>optimize rich content</description> | ||
<created_at type="datetime">2023-11-22T16:36:34Z</created_at> | ||
<updated_at type="datetime">2023-11-22T16:36:34Z</updated_at> | ||
</general_ledger_account> | ||
<general_ledger_account href="https://api.recurly.com/v2/general_ledger_accounts/twyyzw8vcm36"> | ||
<id>twyyzw8vcm36</id> | ||
<code>45-571-736-1179</code> | ||
<account_type>liability</account_type> | ||
<description>incentivize sexy functionalities</description> | ||
<created_at type="datetime">2023-11-16T19:45:05Z</created_at> | ||
<updated_at type="datetime">2023-11-16T19:45:05Z</updated_at> | ||
</general_ledger_account> | ||
<general_ledger_account href="https://api.recurly.com/v2/general_ledger_accounts/twywtf01wkgb"> | ||
<id>twywtf01wkgb</id> | ||
<code>70-818-669-8644</code> | ||
<account_type>liability</account_type> | ||
<description>generate transparent metrics</description> | ||
<created_at type="datetime">2023-11-16T19:32:52Z</created_at> | ||
<updated_at type="datetime">2023-11-16T19:32:52Z</updated_at> | ||
</general_ledger_account> | ||
<general_ledger_account href="https://api.recurly.com/v2/general_ledger_accounts/twywqfr48v9l"> | ||
<id>twywqfr48v9l</id> | ||
<code>7-271-680-5012</code> | ||
<account_type>liability</account_type> | ||
<description>My main liability account</description> | ||
<created_at type="datetime">2023-11-16T19:32:24Z</created_at> | ||
<updated_at type="datetime">2023-11-16T19:32:24Z</updated_at> | ||
</general_ledger_account> | ||
<general_ledger_account href="https://api.recurly.com/v2/general_ledger_accounts/twyvjlhbnej2"> | ||
<id>twyvjlhbnej2</id> | ||
<code>1234</code> | ||
<account_type>liability</account_type> | ||
<description>My main liability account</description> | ||
<created_at type="datetime">2023-11-16T19:25:44Z</created_at> | ||
<updated_at type="datetime">2023-11-16T19:25:44Z</updated_at> | ||
</general_ledger_account> | ||
<general_ledger_account href="https://api.recurly.com/v2/general_ledger_accounts/trl0h3br1dl7"> | ||
<id>trl0h3br1dl7</id> | ||
<code>100</code> | ||
<account_type>revenue</account_type> | ||
<description>HOWDY</description> | ||
<created_at type="datetime">2023-10-20T15:27:46Z</created_at> | ||
<updated_at type="datetime">2023-10-20T15:27:46Z</updated_at> | ||
</general_ledger_account> | ||
<general_ledger_account href="https://api.recurly.com/v2/general_ledger_accounts/trkzlcm2pde8"> | ||
<id>trkzlcm2pde8</id> | ||
<code>validategla</code> | ||
<account_type>liability</account_type> | ||
<description>HOWDY</description> | ||
<created_at type="datetime">2023-10-20T15:22:49Z</created_at> | ||
<updated_at type="datetime">2023-10-20T15:22:49Z</updated_at> | ||
</general_ledger_account> | ||
<general_ledger_account href="https://api.recurly.com/v2/general_ledger_accounts/trkzinjccchm"> | ||
<id>trkzinjccchm</id> | ||
<code>j</code> | ||
<account_type>liability</account_type> | ||
<description>HOWDY</description> | ||
<created_at type="datetime">2023-10-20T15:22:24Z</created_at> | ||
<updated_at type="datetime">2023-10-20T15:22:24Z</updated_at> | ||
</general_ledger_account> | ||
<general_ledger_account href="https://api.recurly.com/v2/general_ledger_accounts/trkz0atorlk3"> | ||
<id>trkz0atorlk3</id> | ||
<code>NEW code</code> | ||
<account_type>revenue</account_type> | ||
<description>NEW description</description> | ||
<created_at type="datetime">2023-10-20T15:19:32Z</created_at> | ||
<updated_at type="datetime">2023-10-20T15:29:30Z</updated_at> | ||
</general_ledger_account> | ||
<general_ledger_account href="https://api.recurly.com/v2/general_ledger_accounts/thproqnpcuwp"> | ||
<id>thproqnpcuwp</id> | ||
<code>303</code> | ||
<account_type>revenue</account_type> | ||
<description></description> | ||
<created_at type="datetime">2023-08-31T20:46:04Z</created_at> | ||
<updated_at type="datetime">2023-08-31T20:46:04Z</updated_at> | ||
</general_ledger_account> | ||
<general_ledger_account href="https://api.recurly.com/v2/general_ledger_accounts/tep8f2u4qq51"> | ||
<id>tep8f2u4qq51</id> | ||
<code>get dat monayyy</code> | ||
<account_type>liability</account_type> | ||
<description>i can has money</description> | ||
<created_at type="datetime">2023-08-16T15:45:40Z</created_at> | ||
<updated_at type="datetime">2023-08-16T15:45:40Z</updated_at> | ||
</general_ledger_account> | ||
<general_ledger_account href="https://api.recurly.com/v2/general_ledger_accounts/tejv6lw4eovy"> | ||
<id>tejv6lw4eovy</id> | ||
<code>demo_liability</code> | ||
<account_type>liability</account_type> | ||
<description>i be descriptin'</description> | ||
<created_at type="datetime">2023-08-15T21:42:35Z</created_at> | ||
<updated_at type="datetime">2023-09-13T15:38:04Z</updated_at> | ||
</general_ledger_account> | ||
</general_ledger_accounts> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
HTTP/1.1 200 OK | ||
Content-Type: application/xml; charset=utf-8 | ||
|
||
<?xml version="1.0" encoding="UTF-8"?> | ||
<general_ledger_account href="https://api.recurly.com/v2/general_ledger_accounts/u90r5deeaxix"> | ||
<id>u90r5deeaxix</id> | ||
<code>code1</code> | ||
<account_type>revenue</account_type> | ||
<description>string</description> | ||
<created_at type="datetime">2024-01-16T14:34:16Z</created_at> | ||
<updated_at type="datetime">2024-01-16T14:34:16Z</updated_at> | ||
</general_ledger_account> |