ledger_sync 1.4.1 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +71 -17
- data/docs/.gitignore +4 -0
- data/documentation/build.sh +3 -1
- data/documentation/site/_includes/ledgers/{Stripe_summary.md → stripe_summary.md} +0 -0
- data/ledger_sync.gemspec +4 -0
- data/lib/ledger_sync/serialization/type/deserializer_references_one_type.rb +1 -1
- data/lib/ledger_sync/version.rb +1 -1
- metadata +59 -136
- data/docs/CNAME +0 -1
- data/docs/assets/css/brands.min.css +0 -5
- data/docs/assets/css/fontawesome.min.css +0 -5
- data/docs/assets/css/main.css +0 -1924
- data/docs/assets/css/monokai.css +0 -441
- data/docs/assets/js/main.js +0 -214
- data/docs/assets/js/plugins.js +0 -22
- data/docs/assets/js/prism.js +0 -9
- data/docs/assets/webfonts/fa-brands-400.eot +0 -0
- data/docs/assets/webfonts/fa-brands-400.svg +0 -3452
- data/docs/assets/webfonts/fa-brands-400.ttf +0 -0
- data/docs/assets/webfonts/fa-brands-400.woff +0 -0
- data/docs/assets/webfonts/fa-brands-400.woff2 +0 -0
- data/docs/blog/index.html +0 -282
- data/docs/guides/architecture/clients/index.html +0 -458
- data/docs/guides/architecture/index.html +0 -435
- data/docs/guides/architecture/operations/index.html +0 -465
- data/docs/guides/architecture/resources/index.html +0 -461
- data/docs/guides/architecture/results/index.html +0 -426
- data/docs/guides/architecture/searchers/index.html +0 -446
- data/docs/guides/architecture/serialization/index.html +0 -476
- data/docs/guides/community/index.html +0 -412
- data/docs/guides/contribute/console/index.html +0 -424
- data/docs/guides/contribute/deployment/index.html +0 -434
- data/docs/guides/contribute/documentation/index.html +0 -450
- data/docs/guides/contribute/index.html +0 -434
- data/docs/guides/contribute/qa/index.html +0 -436
- data/docs/guides/contribute/testing/index.html +0 -424
- data/docs/guides/customization/custom_resources/index.html +0 -461
- data/docs/guides/customization/custom_serializers/index.html +0 -460
- data/docs/guides/customization/index.html +0 -431
- data/docs/guides/customization/resource_converters/index.html +0 -491
- data/docs/guides/getting-started/get-help/index.html +0 -427
- data/docs/guides/getting-started/index.html +0 -421
- data/docs/guides/getting-started/installation/index.html +0 -433
- data/docs/guides/getting-started/quick-start/index.html +0 -531
- data/docs/guides/index.html +0 -428
- data/docs/guides/ledgers/index.html +0 -429
- data/docs/guides/ledgers/netsuite/index.html +0 -424
- data/docs/guides/ledgers/netsuite_soap/index.html +0 -424
- data/docs/guides/ledgers/quickbooks_online/index.html +0 -424
- data/docs/guides/ledgers/stripe/index.html +0 -424
- data/docs/guides/modern-treasury/index.html +0 -411
- data/docs/guides/tips_and_more/index.html +0 -471
- data/docs/images/1.jpg +0 -0
- data/docs/images/10.jpg +0 -0
- data/docs/images/2.jpg +0 -0
- data/docs/images/3.jpg +0 -0
- data/docs/images/4.jpg +0 -0
- data/docs/images/5.jpg +0 -0
- data/docs/images/6.jpg +0 -0
- data/docs/images/7.jpg +0 -0
- data/docs/images/8.jpg +0 -0
- data/docs/images/9.jpg +0 -0
- data/docs/images/logo.svg +0 -8
- data/docs/index.html +0 -379
- data/docs/overview/index.html +0 -409
- data/docs/posts/introducing-docs/index.html +0 -270
- data/docs/posts/netsuite-authentication/index.html +0 -624
- data/docs/reference/architecture/clients/index.html +0 -332
- data/docs/reference/architecture/index.html +0 -311
- data/docs/reference/architecture/operations/index.html +0 -302
- data/docs/reference/architecture/resources/index.html +0 -335
- data/docs/reference/architecture/results/index.html +0 -302
- data/docs/reference/architecture/searchers/index.html +0 -302
- data/docs/reference/architecture/serialization/index.html +0 -302
- data/docs/reference/index.html +0 -281
- data/docs/reference/netsuite/authentication/index.html +0 -392
- data/docs/reference/netsuite/authentication/token_based_authentication/index.html +0 -486
- data/docs/reference/netsuite/index.html +0 -388
- data/docs/reference/netsuite/resources/account/index.html +0 -484
- data/docs/reference/netsuite/resources/check/index.html +0 -492
- data/docs/reference/netsuite/resources/check_line_item/index.html +0 -460
- data/docs/reference/netsuite/resources/currency/index.html +0 -476
- data/docs/reference/netsuite/resources/customer/index.html +0 -488
- data/docs/reference/netsuite/resources/customer_deposit/index.html +0 -480
- data/docs/reference/netsuite/resources/department/index.html +0 -484
- data/docs/reference/netsuite/resources/deposit/index.html +0 -468
- data/docs/reference/netsuite/resources/deposit_line_item/index.html +0 -460
- data/docs/reference/netsuite/resources/index.html +0 -436
- data/docs/reference/netsuite/resources/invoice/index.html +0 -468
- data/docs/reference/netsuite/resources/invoice_line_item/index.html +0 -456
- data/docs/reference/netsuite/resources/item/index.html +0 -444
- data/docs/reference/netsuite/resources/journal_entry/index.html +0 -488
- data/docs/reference/netsuite/resources/journal_entry_line_item/index.html +0 -464
- data/docs/reference/netsuite/resources/ledger_class/index.html +0 -484
- data/docs/reference/netsuite/resources/location/index.html +0 -468
- data/docs/reference/netsuite/resources/resource/index.html +0 -440
- data/docs/reference/netsuite/resources/subsidiary/index.html +0 -448
- data/docs/reference/netsuite/resources/vendor/index.html +0 -492
- data/docs/reference/netsuite_soap/index.html +0 -303
- data/docs/reference/netsuite_soap/resources/customer/index.html +0 -364
- data/docs/reference/netsuite_soap/resources/index.html +0 -316
- data/docs/reference/netsuite_soap/resources/resource/index.html +0 -336
- data/docs/reference/netsuite_soap/resources/subsidiary/index.html +0 -356
- data/docs/reference/quickbooks_online/authentication/index.html +0 -442
- data/docs/reference/quickbooks_online/errors/index.html +0 -395
- data/docs/reference/quickbooks_online/index.html +0 -393
- data/docs/reference/quickbooks_online/resources/account/index.html +0 -530
- data/docs/reference/quickbooks_online/resources/bill/index.html +0 -534
- data/docs/reference/quickbooks_online/resources/bill_line_item/index.html +0 -496
- data/docs/reference/quickbooks_online/resources/bill_payment/index.html +0 -550
- data/docs/reference/quickbooks_online/resources/bill_payment_line_item/index.html +0 -488
- data/docs/reference/quickbooks_online/resources/currency/index.html +0 -492
- data/docs/reference/quickbooks_online/resources/customer/index.html +0 -514
- data/docs/reference/quickbooks_online/resources/department/index.html +0 -518
- data/docs/reference/quickbooks_online/resources/deposit/index.html +0 -526
- data/docs/reference/quickbooks_online/resources/deposit_line_item/index.html +0 -500
- data/docs/reference/quickbooks_online/resources/expense/index.html +0 -538
- data/docs/reference/quickbooks_online/resources/expense_line_item/index.html +0 -496
- data/docs/reference/quickbooks_online/resources/index.html +0 -484
- data/docs/reference/quickbooks_online/resources/invoice/index.html +0 -526
- data/docs/reference/quickbooks_online/resources/invoice_sales_line_item/index.html +0 -496
- data/docs/reference/quickbooks_online/resources/item/index.html +0 -484
- data/docs/reference/quickbooks_online/resources/journal_entry/index.html +0 -518
- data/docs/reference/quickbooks_online/resources/journal_entry_line_item/index.html +0 -504
- data/docs/reference/quickbooks_online/resources/ledger_class/index.html +0 -518
- data/docs/reference/quickbooks_online/resources/payment/index.html +0 -538
- data/docs/reference/quickbooks_online/resources/payment_line_item/index.html +0 -488
- data/docs/reference/quickbooks_online/resources/preferences/index.html +0 -526
- data/docs/reference/quickbooks_online/resources/primary_email_addr/index.html +0 -484
- data/docs/reference/quickbooks_online/resources/primary_phone/index.html +0 -484
- data/docs/reference/quickbooks_online/resources/resource/index.html +0 -480
- data/docs/reference/quickbooks_online/resources/subsidiary/index.html +0 -488
- data/docs/reference/quickbooks_online/resources/transfer/index.html +0 -522
- data/docs/reference/quickbooks_online/resources/vendor/index.html +0 -526
- data/docs/reference/quickbooks_online/webhooks/index.html +0 -427
- data/docs/reference/stripe/index.html +0 -293
- data/docs/reference/stripe/resources/customer/index.html +0 -366
- data/docs/reference/stripe/resources/index.html +0 -309
- data/docs/reference/stripe/resources/resource/index.html +0 -330
- data/docs/style-guide/index.html +0 -375
- data/documentation/site/Gemfile +0 -11
- data/documentation/site/Gemfile.lock +0 -69
@@ -1,332 +0,0 @@
|
|
1
|
-
<!doctype html>
|
2
|
-
<html lang="en">
|
3
|
-
|
4
|
-
<head>
|
5
|
-
|
6
|
-
<title>LedgerSync - Clients - LedgerSync</title>
|
7
|
-
<meta charset="utf-8">
|
8
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
9
|
-
<meta name="description" content="An open-source library for easily syncing with accounting software, general ledgers, ERPs, and other ledgers." />
|
10
|
-
<link href="https://fonts.googleapis.com/css?family=Lato:400,400i,700,700i%26display=swap" rel="stylesheet">
|
11
|
-
<link rel="stylesheet" href="/assets/css/main.css">
|
12
|
-
|
13
|
-
<!-- Global site tag (gtag.js) - Google Analytics -->
|
14
|
-
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-152343827-1"></script>
|
15
|
-
<script>
|
16
|
-
window.dataLayer = window.dataLayer || [];
|
17
|
-
function gtag(){dataLayer.push(arguments);}
|
18
|
-
gtag('js', new Date());
|
19
|
-
|
20
|
-
gtag('config', 'UA-152343827-1');
|
21
|
-
</script>
|
22
|
-
|
23
|
-
</head>
|
24
|
-
|
25
|
-
<body>
|
26
|
-
|
27
|
-
<div id="page" class="site">
|
28
|
-
<header id="masthead" class="site-header outer">
|
29
|
-
<div class="inner">
|
30
|
-
<div class="site-header-inside">
|
31
|
-
<div class="site-branding">
|
32
|
-
|
33
|
-
|
34
|
-
<p class="site-logo"><a href="/"><img src="/images/logo.svg" alt="LedgerSync" /></a></p>
|
35
|
-
|
36
|
-
</div><!-- .site-branding -->
|
37
|
-
|
38
|
-
|
39
|
-
<nav id="main-navigation" class="site-navigation" aria-label="Main Navigation">
|
40
|
-
<div class="site-nav-inside">
|
41
|
-
<button id="menu-close" class="menu-toggle"><span class="screen-reader-text">Open Menu</span><span class="icon-close" aria-hidden="true"></span></button>
|
42
|
-
<ul class="menu">
|
43
|
-
|
44
|
-
<li class="menu-item">
|
45
|
-
|
46
|
-
|
47
|
-
<a class="" href="/" >
|
48
|
-
|
49
|
-
Home
|
50
|
-
|
51
|
-
</a>
|
52
|
-
|
53
|
-
</li>
|
54
|
-
|
55
|
-
<li class="menu-item">
|
56
|
-
|
57
|
-
|
58
|
-
<a class="" href="/guides/" >
|
59
|
-
|
60
|
-
Guides
|
61
|
-
|
62
|
-
</a>
|
63
|
-
|
64
|
-
</li>
|
65
|
-
|
66
|
-
<li class="menu-item has-children">
|
67
|
-
|
68
|
-
|
69
|
-
<a class="" href="/reference" >
|
70
|
-
|
71
|
-
Reference
|
72
|
-
|
73
|
-
</a>
|
74
|
-
|
75
|
-
|
76
|
-
<ul class="submenu">
|
77
|
-
|
78
|
-
<li class="menu-item">
|
79
|
-
|
80
|
-
|
81
|
-
<a class="" href="/reference/netsuite" >
|
82
|
-
|
83
|
-
NetSuite REST
|
84
|
-
|
85
|
-
</a>
|
86
|
-
</li>
|
87
|
-
|
88
|
-
<li class="menu-item">
|
89
|
-
|
90
|
-
|
91
|
-
<a class="" href="/reference/netsuite_soap" >
|
92
|
-
|
93
|
-
NetSuite SOAP
|
94
|
-
|
95
|
-
</a>
|
96
|
-
</li>
|
97
|
-
|
98
|
-
<li class="menu-item">
|
99
|
-
|
100
|
-
|
101
|
-
<a class="" href="/reference/quickbooks_online" >
|
102
|
-
|
103
|
-
QuickBooks Online
|
104
|
-
|
105
|
-
</a>
|
106
|
-
</li>
|
107
|
-
|
108
|
-
<li class="menu-item">
|
109
|
-
|
110
|
-
|
111
|
-
<a class="" href="/reference/stripe" >
|
112
|
-
|
113
|
-
Stripe
|
114
|
-
|
115
|
-
</a>
|
116
|
-
</li>
|
117
|
-
|
118
|
-
</ul>
|
119
|
-
|
120
|
-
|
121
|
-
</li>
|
122
|
-
|
123
|
-
<li class="menu-item">
|
124
|
-
|
125
|
-
|
126
|
-
<a class="" href="/blog" >
|
127
|
-
|
128
|
-
Blog
|
129
|
-
|
130
|
-
</a>
|
131
|
-
|
132
|
-
</li>
|
133
|
-
|
134
|
-
<li class="menu-item">
|
135
|
-
|
136
|
-
|
137
|
-
<a class="" href="/guides/contribute" >
|
138
|
-
|
139
|
-
Contribute
|
140
|
-
|
141
|
-
</a>
|
142
|
-
|
143
|
-
</li>
|
144
|
-
|
145
|
-
<li class="menu-item menu-button">
|
146
|
-
|
147
|
-
|
148
|
-
<a class="button" href="https://github.com/LedgerSync/ledger_sync" >
|
149
|
-
|
150
|
-
GitHub
|
151
|
-
|
152
|
-
</a>
|
153
|
-
|
154
|
-
</li>
|
155
|
-
|
156
|
-
</ul>
|
157
|
-
</div><!-- .site-nav-inside -->
|
158
|
-
</nav><!-- .site-navigation -->
|
159
|
-
<button id="menu-open" class="menu-toggle"><span class="screen-reader-text">Close Menu</span><span class="icon-menu" aria-hidden="true"></span></button>
|
160
|
-
|
161
|
-
</div><!-- .site-header-inside -->
|
162
|
-
</div><!-- .inner -->
|
163
|
-
</header><!-- .site-header -->
|
164
|
-
|
165
|
-
<main id="content" class="site-content">
|
166
|
-
<div class="inner outer">
|
167
|
-
<div class="guides-content">
|
168
|
-
|
169
|
-
<nav id="guides-nav" class="guides-nav">
|
170
|
-
<div id="guides-nav-inside" class="guides-nav-inside sticky">
|
171
|
-
<button id="guides-nav-toggle" class="guides-nav-toggle">Navigate<span class="icon-angle-right" aria-hidden="true"></span></button>
|
172
|
-
<div class="guides-toc-wrap">
|
173
|
-
<ul id="guides-toc" class="guides-toc">
|
174
|
-
|
175
|
-
<li class="toc-item">
|
176
|
-
<a href="/reference/">Reference</a>
|
177
|
-
</li>
|
178
|
-
|
179
|
-
|
180
|
-
<li class="toc-item">
|
181
|
-
<a href=""></a>
|
182
|
-
</li>
|
183
|
-
|
184
|
-
<li class="toc-item">
|
185
|
-
<a href=""></a>
|
186
|
-
</li>
|
187
|
-
|
188
|
-
<li class="toc-item">
|
189
|
-
<a href=""></a>
|
190
|
-
</li>
|
191
|
-
|
192
|
-
|
193
|
-
</ul>
|
194
|
-
<!-- .guides-toc -->
|
195
|
-
</div>
|
196
|
-
<!-- .guides-toc-wrap -->
|
197
|
-
</div>
|
198
|
-
<!-- .guides-nav-inside -->
|
199
|
-
</nav>
|
200
|
-
<!-- .guides-nav -->
|
201
|
-
<article class="post type-guides">
|
202
|
-
<div class="post-inside">
|
203
|
-
<header class="post-header">
|
204
|
-
<h1 class="post-title line-left">Clients</h1>
|
205
|
-
</header>
|
206
|
-
<!-- .post-header -->
|
207
|
-
<div class="post-content">
|
208
|
-
<h2 id="overview">Overview</h2>
|
209
|
-
|
210
|
-
<p>Clients handle the authentication and requests to the ledger. A ledger may have different authentication strategies,
|
211
|
-
so clients will accept different arguments. For example, QuickBooks Online utilizes Oauth 2.0 while NetSuite offers
|
212
|
-
Token Based Authentication. While similar, the required keys are different.</p>
|
213
|
-
|
214
|
-
<h2 id="how-to-use">How to use</h2>
|
215
|
-
|
216
|
-
<p>Unless you are customizing LedgerSync, you will always pass an instantiated client to an object (e.g. an operation).
|
217
|
-
The object will handle using the client as needed.</p>
|
218
|
-
|
219
|
-
<h2 id="gotchas">Gotchas</h2>
|
220
|
-
|
221
|
-
<h3 id="oauth-20">Oauth 2.0</h3>
|
222
|
-
|
223
|
-
<p>Clients store the authentication details for the ledger. Given that Oauth 2.0 tokens can refresh during a request,
|
224
|
-
these clients will handle saving credentials back to the client instance. Typically (though some clients offer
|
225
|
-
more automated solutions), you will want to save any changes back to your database. You can use
|
226
|
-
<code class="highlighter-rouge">client.ledger_attributes_to_save</code> to retrieve a hash of which attributes to save. Your code to do so could look like
|
227
|
-
the following:</p>
|
228
|
-
|
229
|
-
<figure class="highlight"><pre><code class="language-ruby" data-lang="ruby"><table class="rouge-table"><tbody><tr><td class="gutter gl"><pre class="lineno">1
|
230
|
-
2
|
231
|
-
3
|
232
|
-
4
|
233
|
-
</pre></td><td class="code"><pre><span class="c1"># Assuming `client` is defined as an instance of a ledger Client class</span>
|
234
|
-
<span class="n">client</span><span class="p">.</span><span class="nf">ledger_attributes_to_save</span><span class="p">.</span><span class="nf">each</span> <span class="k">do</span> <span class="o">|</span><span class="n">attribute_to_save</span><span class="p">,</span> <span class="n">value</span><span class="o">|</span>
|
235
|
-
<span class="c1"># Store value</span>
|
236
|
-
<span class="k">end</span>
|
237
|
-
</pre></td></tr></tbody></table></code></pre></figure>
|
238
|
-
|
239
|
-
|
240
|
-
<hr />
|
241
|
-
|
242
|
-
<div>Related articles:</div><br />
|
243
|
-
|
244
|
-
<ul class="guides-section-items">
|
245
|
-
|
246
|
-
<li class="guides-section-item"><a href="/reference/architecture/clients/" class="guides-item-link">Clients<span class="icon-angle-right" aria-hidden="true"></span></a></li>
|
247
|
-
|
248
|
-
<li class="guides-section-item"><a href="/reference/architecture/resources/" class="guides-item-link">Resources<span class="icon-angle-right" aria-hidden="true"></span></a></li>
|
249
|
-
|
250
|
-
<li class="guides-section-item"><a href="/reference/architecture/serialization/" class="guides-item-link">Serialization<span class="icon-angle-right" aria-hidden="true"></span></a></li>
|
251
|
-
|
252
|
-
<li class="guides-section-item"><a href="/reference/architecture/operations/" class="guides-item-link">Operations<span class="icon-angle-right" aria-hidden="true"></span></a></li>
|
253
|
-
|
254
|
-
<li class="guides-section-item"><a href="/reference/architecture/searchers/" class="guides-item-link">Operations<span class="icon-angle-right" aria-hidden="true"></span></a></li>
|
255
|
-
|
256
|
-
<li class="guides-section-item"><a href="/reference/architecture/results/" class="guides-item-link">Results<span class="icon-angle-right" aria-hidden="true"></span></a></li>
|
257
|
-
|
258
|
-
</ul>
|
259
|
-
<!-- .guides-section-pages -->
|
260
|
-
|
261
|
-
</div>
|
262
|
-
<!-- .post-content -->
|
263
|
-
</div>
|
264
|
-
<!-- .post-inside -->
|
265
|
-
</article>
|
266
|
-
<!-- .post -->
|
267
|
-
<nav id="page-nav" class="page-nav">
|
268
|
-
<div id="page-nav-inside" class="page-nav-inside sticky">
|
269
|
-
<h2 class="page-nav-title">Jump to Section</h2>
|
270
|
-
</div>
|
271
|
-
<!-- .page-nav-inside -->
|
272
|
-
</nav>
|
273
|
-
<!-- .page-nav -->
|
274
|
-
</div>
|
275
|
-
<!-- .guides-content -->
|
276
|
-
</div>
|
277
|
-
<!-- .inner-->
|
278
|
-
</main><!-- .site-content -->
|
279
|
-
<footer id="colophon" class="site-footer outer">
|
280
|
-
<div class="inner">
|
281
|
-
<div class="site-footer-inside">
|
282
|
-
<p class="site-info">
|
283
|
-
|
284
|
-
<span class="copyright">© Modern Treasury Inc. All rights reserved.</span>
|
285
|
-
<a class="" href="https://www.moderntreasury.com" target="_blank" rel="noopener" >
|
286
|
-
|
287
|
-
Maintained with ❤️ in San Francisco, CA by Modern Treasury
|
288
|
-
|
289
|
-
</a>
|
290
|
-
</p>
|
291
|
-
<!-- .site-info -->
|
292
|
-
|
293
|
-
<div class="social-links">
|
294
|
-
|
295
|
-
<a class="" href="https://www.netlify.com" target="_blank" rel="noopener" >
|
296
|
-
|
297
|
-
<img src="https://www.netlify.com/img/global/badges/netlify-dark.svg" alt="Deploys by Netlify" />
|
298
|
-
|
299
|
-
</a>
|
300
|
-
<a class="button button-icon" href="https://twitter.com/ModernTreasury" target="_blank" rel="noopener" >
|
301
|
-
|
302
|
-
<span class="icon fab fa-twitter" aria-hidden="true"></span><span class="screen-reader-text">Twitter</span>
|
303
|
-
|
304
|
-
</a>
|
305
|
-
<a class="button button-icon" href="https://www.linkedin.com/company/modern-treasury" target="_blank" rel="noopener" >
|
306
|
-
|
307
|
-
<span class="icon fab fa-linkedin" aria-hidden="true"></span><span class="screen-reader-text">LinkedIn</span>
|
308
|
-
|
309
|
-
</a>
|
310
|
-
<a class="button button-icon" href="https://github.com/LedgerSync/ledger_sync" target="_blank" rel="noopener" >
|
311
|
-
|
312
|
-
<span class="icon fab fa-github" aria-hidden="true"></span><span class="screen-reader-text">GitHub</span>
|
313
|
-
|
314
|
-
</a>
|
315
|
-
</div>
|
316
|
-
<!-- .social-links -->
|
317
|
-
|
318
|
-
</div>
|
319
|
-
<!-- .site-footer-inside -->
|
320
|
-
</div>
|
321
|
-
<!-- .inner -->
|
322
|
-
</footer>
|
323
|
-
<!-- .site-footer -->
|
324
|
-
</div><!-- .site -->
|
325
|
-
|
326
|
-
<!-- Scripts -->
|
327
|
-
<script src="/assets/js/plugins.js"></script>
|
328
|
-
<script src="/assets/js/prism.js" data-manual></script>
|
329
|
-
<script src="/assets/js/main.js"></script>
|
330
|
-
</body>
|
331
|
-
|
332
|
-
</html>
|
@@ -1,311 +0,0 @@
|
|
1
|
-
<!doctype html>
|
2
|
-
<html lang="en">
|
3
|
-
|
4
|
-
<head>
|
5
|
-
|
6
|
-
<title>LedgerSync - Architecture - LedgerSync</title>
|
7
|
-
<meta charset="utf-8">
|
8
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
9
|
-
<meta name="description" content="Understand the high-level architecture of LedgerSync." />
|
10
|
-
<link href="https://fonts.googleapis.com/css?family=Lato:400,400i,700,700i%26display=swap" rel="stylesheet">
|
11
|
-
<link rel="stylesheet" href="/assets/css/main.css">
|
12
|
-
|
13
|
-
<!-- Global site tag (gtag.js) - Google Analytics -->
|
14
|
-
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-152343827-1"></script>
|
15
|
-
<script>
|
16
|
-
window.dataLayer = window.dataLayer || [];
|
17
|
-
function gtag(){dataLayer.push(arguments);}
|
18
|
-
gtag('js', new Date());
|
19
|
-
|
20
|
-
gtag('config', 'UA-152343827-1');
|
21
|
-
</script>
|
22
|
-
|
23
|
-
</head>
|
24
|
-
|
25
|
-
<body>
|
26
|
-
|
27
|
-
<div id="page" class="site">
|
28
|
-
<header id="masthead" class="site-header outer">
|
29
|
-
<div class="inner">
|
30
|
-
<div class="site-header-inside">
|
31
|
-
<div class="site-branding">
|
32
|
-
|
33
|
-
|
34
|
-
<p class="site-logo"><a href="/"><img src="/images/logo.svg" alt="LedgerSync" /></a></p>
|
35
|
-
|
36
|
-
</div><!-- .site-branding -->
|
37
|
-
|
38
|
-
|
39
|
-
<nav id="main-navigation" class="site-navigation" aria-label="Main Navigation">
|
40
|
-
<div class="site-nav-inside">
|
41
|
-
<button id="menu-close" class="menu-toggle"><span class="screen-reader-text">Open Menu</span><span class="icon-close" aria-hidden="true"></span></button>
|
42
|
-
<ul class="menu">
|
43
|
-
|
44
|
-
<li class="menu-item">
|
45
|
-
|
46
|
-
|
47
|
-
<a class="" href="/" >
|
48
|
-
|
49
|
-
Home
|
50
|
-
|
51
|
-
</a>
|
52
|
-
|
53
|
-
</li>
|
54
|
-
|
55
|
-
<li class="menu-item">
|
56
|
-
|
57
|
-
|
58
|
-
<a class="" href="/guides/" >
|
59
|
-
|
60
|
-
Guides
|
61
|
-
|
62
|
-
</a>
|
63
|
-
|
64
|
-
</li>
|
65
|
-
|
66
|
-
<li class="menu-item has-children">
|
67
|
-
|
68
|
-
|
69
|
-
<a class="" href="/reference" >
|
70
|
-
|
71
|
-
Reference
|
72
|
-
|
73
|
-
</a>
|
74
|
-
|
75
|
-
|
76
|
-
<ul class="submenu">
|
77
|
-
|
78
|
-
<li class="menu-item">
|
79
|
-
|
80
|
-
|
81
|
-
<a class="" href="/reference/netsuite" >
|
82
|
-
|
83
|
-
NetSuite REST
|
84
|
-
|
85
|
-
</a>
|
86
|
-
</li>
|
87
|
-
|
88
|
-
<li class="menu-item">
|
89
|
-
|
90
|
-
|
91
|
-
<a class="" href="/reference/netsuite_soap" >
|
92
|
-
|
93
|
-
NetSuite SOAP
|
94
|
-
|
95
|
-
</a>
|
96
|
-
</li>
|
97
|
-
|
98
|
-
<li class="menu-item">
|
99
|
-
|
100
|
-
|
101
|
-
<a class="" href="/reference/quickbooks_online" >
|
102
|
-
|
103
|
-
QuickBooks Online
|
104
|
-
|
105
|
-
</a>
|
106
|
-
</li>
|
107
|
-
|
108
|
-
<li class="menu-item">
|
109
|
-
|
110
|
-
|
111
|
-
<a class="" href="/reference/stripe" >
|
112
|
-
|
113
|
-
Stripe
|
114
|
-
|
115
|
-
</a>
|
116
|
-
</li>
|
117
|
-
|
118
|
-
</ul>
|
119
|
-
|
120
|
-
|
121
|
-
</li>
|
122
|
-
|
123
|
-
<li class="menu-item">
|
124
|
-
|
125
|
-
|
126
|
-
<a class="" href="/blog" >
|
127
|
-
|
128
|
-
Blog
|
129
|
-
|
130
|
-
</a>
|
131
|
-
|
132
|
-
</li>
|
133
|
-
|
134
|
-
<li class="menu-item">
|
135
|
-
|
136
|
-
|
137
|
-
<a class="" href="/guides/contribute" >
|
138
|
-
|
139
|
-
Contribute
|
140
|
-
|
141
|
-
</a>
|
142
|
-
|
143
|
-
</li>
|
144
|
-
|
145
|
-
<li class="menu-item menu-button">
|
146
|
-
|
147
|
-
|
148
|
-
<a class="button" href="https://github.com/LedgerSync/ledger_sync" >
|
149
|
-
|
150
|
-
GitHub
|
151
|
-
|
152
|
-
</a>
|
153
|
-
|
154
|
-
</li>
|
155
|
-
|
156
|
-
</ul>
|
157
|
-
</div><!-- .site-nav-inside -->
|
158
|
-
</nav><!-- .site-navigation -->
|
159
|
-
<button id="menu-open" class="menu-toggle"><span class="screen-reader-text">Close Menu</span><span class="icon-menu" aria-hidden="true"></span></button>
|
160
|
-
|
161
|
-
</div><!-- .site-header-inside -->
|
162
|
-
</div><!-- .inner -->
|
163
|
-
</header><!-- .site-header -->
|
164
|
-
|
165
|
-
<main id="content" class="site-content">
|
166
|
-
<div class="inner outer">
|
167
|
-
<div class="guides-content">
|
168
|
-
|
169
|
-
<nav id="guides-nav" class="guides-nav">
|
170
|
-
<div id="guides-nav-inside" class="guides-nav-inside sticky">
|
171
|
-
<button id="guides-nav-toggle" class="guides-nav-toggle">Navigate<span class="icon-angle-right" aria-hidden="true"></span></button>
|
172
|
-
<div class="guides-toc-wrap">
|
173
|
-
<ul id="guides-toc" class="guides-toc">
|
174
|
-
|
175
|
-
<li class="toc-item">
|
176
|
-
<a href="/reference/">Reference</a>
|
177
|
-
</li>
|
178
|
-
|
179
|
-
|
180
|
-
<li class="toc-item">
|
181
|
-
<a href=""></a>
|
182
|
-
</li>
|
183
|
-
|
184
|
-
<li class="toc-item">
|
185
|
-
<a href=""></a>
|
186
|
-
</li>
|
187
|
-
|
188
|
-
<li class="toc-item">
|
189
|
-
<a href=""></a>
|
190
|
-
</li>
|
191
|
-
|
192
|
-
|
193
|
-
</ul>
|
194
|
-
<!-- .guides-toc -->
|
195
|
-
</div>
|
196
|
-
<!-- .guides-toc-wrap -->
|
197
|
-
</div>
|
198
|
-
<!-- .guides-nav-inside -->
|
199
|
-
</nav>
|
200
|
-
<!-- .guides-nav -->
|
201
|
-
<article class="post type-guides">
|
202
|
-
<div class="post-inside">
|
203
|
-
<header class="post-header">
|
204
|
-
<h1 class="post-title line-left">Architecture</h1>
|
205
|
-
</header>
|
206
|
-
<!-- .post-header -->
|
207
|
-
<div class="post-content">
|
208
|
-
<p>LedgerSync consists of the following high-level objects:</p>
|
209
|
-
|
210
|
-
<ul>
|
211
|
-
<li><a href="/guides/architecture/clients">Clients</a></li>
|
212
|
-
<li><a href="/guides/architecture/resources">Resources</a></li>
|
213
|
-
<li><a href="/guides/architecture/serialization">Serialization</a></li>
|
214
|
-
<li><a href="/guides/architecture/operations">Operations</a></li>
|
215
|
-
<li><a href="/guides/architecture/searchers">Searchers</a></li>
|
216
|
-
<li><a href="/guides/architecture/results">Results</a></li>
|
217
|
-
</ul>
|
218
|
-
|
219
|
-
<hr />
|
220
|
-
|
221
|
-
<div>Related articles:</div><br />
|
222
|
-
|
223
|
-
<ul class="guides-section-items">
|
224
|
-
|
225
|
-
<li class="guides-section-item"><a href="/reference/architecture/clients/" class="guides-item-link">Clients<span class="icon-angle-right" aria-hidden="true"></span></a></li>
|
226
|
-
|
227
|
-
<li class="guides-section-item"><a href="/reference/architecture/resources/" class="guides-item-link">Resources<span class="icon-angle-right" aria-hidden="true"></span></a></li>
|
228
|
-
|
229
|
-
<li class="guides-section-item"><a href="/reference/architecture/serialization/" class="guides-item-link">Serialization<span class="icon-angle-right" aria-hidden="true"></span></a></li>
|
230
|
-
|
231
|
-
<li class="guides-section-item"><a href="/reference/architecture/operations/" class="guides-item-link">Operations<span class="icon-angle-right" aria-hidden="true"></span></a></li>
|
232
|
-
|
233
|
-
<li class="guides-section-item"><a href="/reference/architecture/searchers/" class="guides-item-link">Operations<span class="icon-angle-right" aria-hidden="true"></span></a></li>
|
234
|
-
|
235
|
-
<li class="guides-section-item"><a href="/reference/architecture/results/" class="guides-item-link">Results<span class="icon-angle-right" aria-hidden="true"></span></a></li>
|
236
|
-
|
237
|
-
</ul>
|
238
|
-
<!-- .guides-section-pages -->
|
239
|
-
|
240
|
-
</div>
|
241
|
-
<!-- .post-content -->
|
242
|
-
</div>
|
243
|
-
<!-- .post-inside -->
|
244
|
-
</article>
|
245
|
-
<!-- .post -->
|
246
|
-
<nav id="page-nav" class="page-nav">
|
247
|
-
<div id="page-nav-inside" class="page-nav-inside sticky">
|
248
|
-
<h2 class="page-nav-title">Jump to Section</h2>
|
249
|
-
</div>
|
250
|
-
<!-- .page-nav-inside -->
|
251
|
-
</nav>
|
252
|
-
<!-- .page-nav -->
|
253
|
-
</div>
|
254
|
-
<!-- .guides-content -->
|
255
|
-
</div>
|
256
|
-
<!-- .inner-->
|
257
|
-
</main><!-- .site-content -->
|
258
|
-
<footer id="colophon" class="site-footer outer">
|
259
|
-
<div class="inner">
|
260
|
-
<div class="site-footer-inside">
|
261
|
-
<p class="site-info">
|
262
|
-
|
263
|
-
<span class="copyright">© Modern Treasury Inc. All rights reserved.</span>
|
264
|
-
<a class="" href="https://www.moderntreasury.com" target="_blank" rel="noopener" >
|
265
|
-
|
266
|
-
Maintained with ❤️ in San Francisco, CA by Modern Treasury
|
267
|
-
|
268
|
-
</a>
|
269
|
-
</p>
|
270
|
-
<!-- .site-info -->
|
271
|
-
|
272
|
-
<div class="social-links">
|
273
|
-
|
274
|
-
<a class="" href="https://www.netlify.com" target="_blank" rel="noopener" >
|
275
|
-
|
276
|
-
<img src="https://www.netlify.com/img/global/badges/netlify-dark.svg" alt="Deploys by Netlify" />
|
277
|
-
|
278
|
-
</a>
|
279
|
-
<a class="button button-icon" href="https://twitter.com/ModernTreasury" target="_blank" rel="noopener" >
|
280
|
-
|
281
|
-
<span class="icon fab fa-twitter" aria-hidden="true"></span><span class="screen-reader-text">Twitter</span>
|
282
|
-
|
283
|
-
</a>
|
284
|
-
<a class="button button-icon" href="https://www.linkedin.com/company/modern-treasury" target="_blank" rel="noopener" >
|
285
|
-
|
286
|
-
<span class="icon fab fa-linkedin" aria-hidden="true"></span><span class="screen-reader-text">LinkedIn</span>
|
287
|
-
|
288
|
-
</a>
|
289
|
-
<a class="button button-icon" href="https://github.com/LedgerSync/ledger_sync" target="_blank" rel="noopener" >
|
290
|
-
|
291
|
-
<span class="icon fab fa-github" aria-hidden="true"></span><span class="screen-reader-text">GitHub</span>
|
292
|
-
|
293
|
-
</a>
|
294
|
-
</div>
|
295
|
-
<!-- .social-links -->
|
296
|
-
|
297
|
-
</div>
|
298
|
-
<!-- .site-footer-inside -->
|
299
|
-
</div>
|
300
|
-
<!-- .inner -->
|
301
|
-
</footer>
|
302
|
-
<!-- .site-footer -->
|
303
|
-
</div><!-- .site -->
|
304
|
-
|
305
|
-
<!-- Scripts -->
|
306
|
-
<script src="/assets/js/plugins.js"></script>
|
307
|
-
<script src="/assets/js/prism.js" data-manual></script>
|
308
|
-
<script src="/assets/js/main.js"></script>
|
309
|
-
</body>
|
310
|
-
|
311
|
-
</html>
|