quickbooks 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README +11 -7
- data/Rakefile +1 -1
- data/doc/classes/QuickBooks.html +5 -33
- data/doc/classes/QuickBooks/{Session.html → Connection.html} +37 -37
- data/doc/classes/QuickBooks/{Session.src/M000011.html → Connection.src/M000015.html} +2 -2
- data/doc/classes/QuickBooks/{Session.src/M000012.html → Connection.src/M000016.html} +2 -2
- data/doc/classes/QuickBooks/{Session.src/M000013.html → Connection.src/M000017.html} +2 -2
- data/doc/classes/QuickBooks/{Session.src/M000014.html → Connection.src/M000018.html} +2 -2
- data/doc/classes/QuickBooks/{Session.src/M000015.html → Connection.src/M000019.html} +2 -2
- data/doc/classes/QuickBooks/Models.html +2 -2
- data/doc/classes/QuickBooks/Models/Base.html +70 -8
- data/doc/classes/QuickBooks/Models/Base.src/M000010.html +5 -3
- data/doc/classes/QuickBooks/Models/Base.src/M000011.html +18 -0
- data/doc/classes/QuickBooks/Models/Base.src/M000012.html +18 -0
- data/doc/classes/QuickBooks/Models/Base.src/{M000009.html → M000013.html} +1 -2
- data/doc/classes/QuickBooks/Models/{Transaction.src/M000003.html → Base.src/M000014.html} +3 -3
- data/doc/classes/QuickBooks/Models/Customer.html +17 -2
- data/doc/classes/QuickBooks/Models/Customer.src/M000001.html +1 -1
- data/doc/classes/QuickBooks/Models/Customer.src/M000002.html +2 -1
- data/doc/classes/QuickBooks/Models/Customer.src/M000003.html +18 -0
- data/doc/classes/QuickBooks/Models/ListItem.html +9 -9
- data/doc/classes/QuickBooks/Models/ListItem.src/M000008.html +2 -2
- data/doc/classes/QuickBooks/Models/ListItem.src/{M000007.html → M000009.html} +2 -2
- data/doc/classes/QuickBooks/Models/Transaction.html +18 -18
- data/doc/classes/QuickBooks/Models/Transaction.src/M000004.html +2 -2
- data/doc/classes/QuickBooks/Models/Transaction.src/M000005.html +3 -3
- data/doc/classes/QuickBooks/Models/Transaction.src/M000006.html +2 -2
- data/doc/classes/QuickBooks/Models/Transaction.src/M000007.html +17 -0
- data/doc/created.rid +1 -1
- data/doc/files/README.html +14 -8
- data/doc/files/lib/quickbooks/{session_rb.html → connection_rb.html} +4 -4
- data/doc/files/lib/quickbooks/models/base_rb.html +1 -29
- data/doc/files/lib/quickbooks/models/{customer_rb.html → models_rb.html} +5 -33
- data/doc/files/lib/quickbooks_rb.html +3 -32
- data/doc/fr_class_index.html +1 -1
- data/doc/fr_file_index.html +2 -2
- data/doc/fr_method_index.html +14 -10
- data/lib/quickbooks.rb +2 -40
- data/lib/quickbooks/{session.rb → connection.rb} +7 -25
- data/lib/quickbooks/models/base.rb +19 -18
- data/lib/quickbooks/models/{customer.rb → models.rb} +5 -18
- data/test/quickbooks/quickbooks_test.rb +19 -12
- metadata +20 -16
@@ -5,13 +5,15 @@
|
|
5
5
|
|
6
6
|
<html>
|
7
7
|
<head>
|
8
|
-
<title>
|
8
|
+
<title>establish_connection (QuickBooks::Models::Base)</title>
|
9
9
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
10
|
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/quickbooks/models/base.rb, line
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/quickbooks/models/base.rb, line 6</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">establish_connection</span>(<span class="ruby-identifier">user</span>, <span class="ruby-identifier">password</span>, <span class="ruby-identifier">application_name</span>, <span class="ruby-identifier">host</span>=<span class="ruby-value str">"localhost"</span>, <span class="ruby-identifier">port</span>=<span class="ruby-value">3790</span>, <span class="ruby-identifier">mode</span>=<span class="ruby-value str">'multiUser'</span>)
|
15
|
+
<span class="ruby-ivar">@@connection</span> = <span class="ruby-constant">Connection</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">user</span>, <span class="ruby-identifier">password</span>, <span class="ruby-identifier">application_name</span>, <span class="ruby-identifier">host</span>, <span class="ruby-identifier">port</span>, <span class="ruby-identifier">mode</span>)
|
16
|
+
<span class="ruby-ivar">@@connection</span>.<span class="ruby-identifier">open</span>
|
15
17
|
<span class="ruby-keyword kw">end</span></pre>
|
16
18
|
</body>
|
17
19
|
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>connection (QuickBooks::Models::Base)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/quickbooks/models/base.rb, line 12</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">connection</span>
|
15
|
+
<span class="ruby-ivar">@@connection</span>
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>connection= (QuickBooks::Models::Base)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/quickbooks/models/base.rb, line 19</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">connection=</span>(<span class="ruby-identifier">connection</span>)
|
15
|
+
<span class="ruby-ivar">@@connection</span> = <span class="ruby-identifier">connection</span>
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -10,9 +10,8 @@
|
|
10
10
|
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/quickbooks/models/base.rb, line
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/quickbooks/models/base.rb, line 23</span>
|
14
14
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_xml</span>
|
15
|
-
<span class="ruby-identifier">xml</span>
|
16
15
|
<span class="ruby-keyword kw">end</span></pre>
|
17
16
|
</body>
|
18
17
|
</html>
|
@@ -5,13 +5,13 @@
|
|
5
5
|
|
6
6
|
<html>
|
7
7
|
<head>
|
8
|
-
<title>
|
8
|
+
<title>mod_xml (QuickBooks::Models::Base)</title>
|
9
9
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
10
|
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/quickbooks/models/base.rb, line
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/quickbooks/models/base.rb, line 26</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mod_xml</span>
|
15
15
|
<span class="ruby-keyword kw">end</span></pre>
|
16
16
|
</body>
|
17
17
|
</html>
|
@@ -55,8 +55,8 @@
|
|
55
55
|
<tr class="top-aligned-row">
|
56
56
|
<td><strong>In:</strong></td>
|
57
57
|
<td>
|
58
|
-
<a href="../../../files/lib/quickbooks/models/
|
59
|
-
lib/quickbooks/models/
|
58
|
+
<a href="../../../files/lib/quickbooks/models/models_rb.html">
|
59
|
+
lib/quickbooks/models/models.rb
|
60
60
|
</a>
|
61
61
|
<br />
|
62
62
|
</td>
|
@@ -88,6 +88,7 @@
|
|
88
88
|
<h3 class="section-bar">Methods</h3>
|
89
89
|
|
90
90
|
<div class="name-list">
|
91
|
+
<a href="#M000003">find</a>
|
91
92
|
<a href="#M000001">new</a>
|
92
93
|
<a href="#M000002">new_record?</a>
|
93
94
|
</div>
|
@@ -364,6 +365,20 @@
|
|
364
365
|
<div id="methods">
|
365
366
|
<h3 class="section-bar">Public Class methods</h3>
|
366
367
|
|
368
|
+
<div id="method-M000003" class="method-detail">
|
369
|
+
<a name="M000003"></a>
|
370
|
+
|
371
|
+
<div class="method-heading">
|
372
|
+
<a href="Customer.src/M000003.html" target="Code" class="method-signature"
|
373
|
+
onclick="popupCode('Customer.src/M000003.html');return false;">
|
374
|
+
<span class="method-name">find</span><span class="method-args">(parameters)</span>
|
375
|
+
</a>
|
376
|
+
</div>
|
377
|
+
|
378
|
+
<div class="method-description">
|
379
|
+
</div>
|
380
|
+
</div>
|
381
|
+
|
367
382
|
<div id="method-M000001" class="method-detail">
|
368
383
|
<a name="M000001"></a>
|
369
384
|
|
@@ -10,7 +10,7 @@
|
|
10
10
|
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/quickbooks/models/
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/quickbooks/models/models.rb, line 13</span>
|
14
14
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">attributes</span>={})
|
15
15
|
<span class="ruby-ivar">@new_record</span> = <span class="ruby-keyword kw">true</span>
|
16
16
|
|
@@ -10,8 +10,9 @@
|
|
10
10
|
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/quickbooks/models/
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/quickbooks/models/models.rb, line 33</span>
|
14
14
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">new_record?</span>
|
15
|
+
<span class="ruby-ivar">@new_record</span>
|
15
16
|
<span class="ruby-keyword kw">end</span></pre>
|
16
17
|
</body>
|
17
18
|
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>find (QuickBooks::Models::Customer)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/quickbooks/models/models.rb, line 37</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">parameters</span>)
|
15
|
+
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -88,8 +88,8 @@
|
|
88
88
|
<h3 class="section-bar">Methods</h3>
|
89
89
|
|
90
90
|
<div class="name-list">
|
91
|
-
<a href="#M000007">delete</a>
|
92
91
|
<a href="#M000008">delete</a>
|
92
|
+
<a href="#M000009">delete</a>
|
93
93
|
</div>
|
94
94
|
</div>
|
95
95
|
|
@@ -129,12 +129,12 @@
|
|
129
129
|
<div id="methods">
|
130
130
|
<h3 class="section-bar">Public Class methods</h3>
|
131
131
|
|
132
|
-
<div id="method-
|
133
|
-
<a name="
|
132
|
+
<div id="method-M000008" class="method-detail">
|
133
|
+
<a name="M000008"></a>
|
134
134
|
|
135
135
|
<div class="method-heading">
|
136
|
-
<a href="ListItem.src/
|
137
|
-
onclick="popupCode('ListItem.src/
|
136
|
+
<a href="ListItem.src/M000008.html" target="Code" class="method-signature"
|
137
|
+
onclick="popupCode('ListItem.src/M000008.html');return false;">
|
138
138
|
<span class="method-name">delete</span><span class="method-args">(id)</span>
|
139
139
|
</a>
|
140
140
|
</div>
|
@@ -145,12 +145,12 @@
|
|
145
145
|
|
146
146
|
<h3 class="section-bar">Public Instance methods</h3>
|
147
147
|
|
148
|
-
<div id="method-
|
149
|
-
<a name="
|
148
|
+
<div id="method-M000009" class="method-detail">
|
149
|
+
<a name="M000009"></a>
|
150
150
|
|
151
151
|
<div class="method-heading">
|
152
|
-
<a href="ListItem.src/
|
153
|
-
onclick="popupCode('ListItem.src/
|
152
|
+
<a href="ListItem.src/M000009.html" target="Code" class="method-signature"
|
153
|
+
onclick="popupCode('ListItem.src/M000009.html');return false;">
|
154
154
|
<span class="method-name">delete</span><span class="method-args">()</span>
|
155
155
|
</a>
|
156
156
|
</div>
|
@@ -10,8 +10,8 @@
|
|
10
10
|
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/quickbooks/models/base.rb, line
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete</span>
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/quickbooks/models/base.rb, line 51</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">id</span>)
|
15
15
|
<span class="ruby-keyword kw">end</span></pre>
|
16
16
|
</body>
|
17
17
|
</html>
|
@@ -10,8 +10,8 @@
|
|
10
10
|
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/quickbooks/models/base.rb, line
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/quickbooks/models/base.rb, line 54</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete</span>
|
15
15
|
<span class="ruby-keyword kw">end</span></pre>
|
16
16
|
</body>
|
17
17
|
</html>
|
@@ -86,10 +86,10 @@
|
|
86
86
|
<h3 class="section-bar">Methods</h3>
|
87
87
|
|
88
88
|
<div class="name-list">
|
89
|
-
<a href="#M000003">delete</a>
|
90
89
|
<a href="#M000004">delete</a>
|
91
|
-
<a href="#M000005">
|
90
|
+
<a href="#M000005">delete</a>
|
92
91
|
<a href="#M000006">void</a>
|
92
|
+
<a href="#M000007">void</a>
|
93
93
|
</div>
|
94
94
|
</div>
|
95
95
|
|
@@ -129,12 +129,12 @@
|
|
129
129
|
<div id="methods">
|
130
130
|
<h3 class="section-bar">Public Class methods</h3>
|
131
131
|
|
132
|
-
<div id="method-
|
133
|
-
<a name="
|
132
|
+
<div id="method-M000004" class="method-detail">
|
133
|
+
<a name="M000004"></a>
|
134
134
|
|
135
135
|
<div class="method-heading">
|
136
|
-
<a href="Transaction.src/
|
137
|
-
onclick="popupCode('Transaction.src/
|
136
|
+
<a href="Transaction.src/M000004.html" target="Code" class="method-signature"
|
137
|
+
onclick="popupCode('Transaction.src/M000004.html');return false;">
|
138
138
|
<span class="method-name">delete</span><span class="method-args">()</span>
|
139
139
|
</a>
|
140
140
|
</div>
|
@@ -143,12 +143,12 @@
|
|
143
143
|
</div>
|
144
144
|
</div>
|
145
145
|
|
146
|
-
<div id="method-
|
147
|
-
<a name="
|
146
|
+
<div id="method-M000006" class="method-detail">
|
147
|
+
<a name="M000006"></a>
|
148
148
|
|
149
149
|
<div class="method-heading">
|
150
|
-
<a href="Transaction.src/
|
151
|
-
onclick="popupCode('Transaction.src/
|
150
|
+
<a href="Transaction.src/M000006.html" target="Code" class="method-signature"
|
151
|
+
onclick="popupCode('Transaction.src/M000006.html');return false;">
|
152
152
|
<span class="method-name">void</span><span class="method-args">()</span>
|
153
153
|
</a>
|
154
154
|
</div>
|
@@ -159,12 +159,12 @@
|
|
159
159
|
|
160
160
|
<h3 class="section-bar">Public Instance methods</h3>
|
161
161
|
|
162
|
-
<div id="method-
|
163
|
-
<a name="
|
162
|
+
<div id="method-M000005" class="method-detail">
|
163
|
+
<a name="M000005"></a>
|
164
164
|
|
165
165
|
<div class="method-heading">
|
166
|
-
<a href="Transaction.src/
|
167
|
-
onclick="popupCode('Transaction.src/
|
166
|
+
<a href="Transaction.src/M000005.html" target="Code" class="method-signature"
|
167
|
+
onclick="popupCode('Transaction.src/M000005.html');return false;">
|
168
168
|
<span class="method-name">delete</span><span class="method-args">()</span>
|
169
169
|
</a>
|
170
170
|
</div>
|
@@ -173,12 +173,12 @@
|
|
173
173
|
</div>
|
174
174
|
</div>
|
175
175
|
|
176
|
-
<div id="method-
|
177
|
-
<a name="
|
176
|
+
<div id="method-M000007" class="method-detail">
|
177
|
+
<a name="M000007"></a>
|
178
178
|
|
179
179
|
<div class="method-heading">
|
180
|
-
<a href="Transaction.src/
|
181
|
-
onclick="popupCode('Transaction.src/
|
180
|
+
<a href="Transaction.src/M000007.html" target="Code" class="method-signature"
|
181
|
+
onclick="popupCode('Transaction.src/M000007.html');return false;">
|
182
182
|
<span class="method-name">void</span><span class="method-args">()</span>
|
183
183
|
</a>
|
184
184
|
</div>
|
@@ -10,8 +10,8 @@
|
|
10
10
|
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/quickbooks/models/base.rb, line
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete</span>
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/quickbooks/models/base.rb, line 34</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">delete</span>
|
15
15
|
<span class="ruby-keyword kw">end</span></pre>
|
16
16
|
</body>
|
17
17
|
</html>
|
@@ -5,13 +5,13 @@
|
|
5
5
|
|
6
6
|
<html>
|
7
7
|
<head>
|
8
|
-
<title>
|
8
|
+
<title>delete (QuickBooks::Models::Transaction)</title>
|
9
9
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
10
|
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/quickbooks/models/base.rb, line
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/quickbooks/models/base.rb, line 37</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete</span>
|
15
15
|
<span class="ruby-keyword kw">end</span></pre>
|
16
16
|
</body>
|
17
17
|
</html>
|
@@ -10,8 +10,8 @@
|
|
10
10
|
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/quickbooks/models/base.rb, line
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">void</span>
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/quickbooks/models/base.rb, line 40</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">void</span>
|
15
15
|
<span class="ruby-keyword kw">end</span></pre>
|
16
16
|
</body>
|
17
17
|
</html>
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>void (QuickBooks::Models::Transaction)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/quickbooks/models/base.rb, line 43</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">void</span>
|
15
|
+
<span class="ruby-keyword kw">end</span></pre>
|
16
|
+
</body>
|
17
|
+
</html>
|
data/doc/created.rid
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
Fri Sep 15 10:43:18 Pacific Standard Time 2006
|
data/doc/files/README.html
CHANGED
@@ -56,7 +56,7 @@
|
|
56
56
|
</tr>
|
57
57
|
<tr class="top-aligned-row">
|
58
58
|
<td><strong>Last Update:</strong></td>
|
59
|
-
<td>
|
59
|
+
<td>Fri Sep 15 10:20:27 Pacific Standard Time 2006</td>
|
60
60
|
</tr>
|
61
61
|
</table>
|
62
62
|
</div>
|
@@ -94,7 +94,7 @@ href="http://rubyforge.org/projects/quickbooks">rubyforge.org/projects/quickbook
|
|
94
94
|
<h2>Status</h2>
|
95
95
|
<p>
|
96
96
|
This library is a work in progress and has very limited capabilities right
|
97
|
-
now. There is a
|
97
|
+
now. There is a Connection class that will let you connect to <a
|
98
98
|
href="../classes/QuickBooks.html">QuickBooks</a> and send QBXML directly. I
|
99
99
|
am in the process of implementing all the messages that you can send and
|
100
100
|
recieve in an easy to use class structure.
|
@@ -102,12 +102,12 @@ recieve in an easy to use class structure.
|
|
102
102
|
<h2>Usage</h2>
|
103
103
|
<p>
|
104
104
|
You can use the <a
|
105
|
-
href="../classes/QuickBooks/
|
106
|
-
talk to the RDS server:
|
105
|
+
href="../classes/QuickBooks/Connection.html">QuickBooks::Connection</a>
|
106
|
+
class to talk to the RDS server:
|
107
107
|
</p>
|
108
108
|
<pre>
|
109
|
-
|
110
|
-
|
109
|
+
connection = QuickBooks::Connection.new('admin', 'pass123', 'My Test App')
|
110
|
+
connection.open
|
111
111
|
xml = <<EOL
|
112
112
|
<?xml version="1.0"?>
|
113
113
|
<?qbxml version="3.0"?>
|
@@ -120,8 +120,8 @@ talk to the RDS server:
|
|
120
120
|
</QBXMLMsgsRq>
|
121
121
|
</QBXML>
|
122
122
|
EOL
|
123
|
-
|
124
|
-
|
123
|
+
connection.send(xml)
|
124
|
+
connection.close
|
125
125
|
</pre>
|
126
126
|
<h2>Authors</h2>
|
127
127
|
<ul>
|
@@ -132,6 +132,12 @@ href="mailto:chrisabruce@yahoo.com">chrisabruce@yahoo.com</a>)
|
|
132
132
|
</ul>
|
133
133
|
<p>
|
134
134
|
This library is released under the terms of the MIT License.
|
135
|
+
</p>
|
136
|
+
<h2>Changes</h2>
|
137
|
+
<p>
|
138
|
+
I renamed QuickBooks::Session to <a
|
139
|
+
href="../classes/QuickBooks/Connection.html">QuickBooks::Connection</a> as
|
140
|
+
it seems more intuitive.
|
135
141
|
</p>
|
136
142
|
|
137
143
|
</div>
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
7
|
<head>
|
8
|
-
<title>File:
|
8
|
+
<title>File: connection.rb</title>
|
9
9
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
10
|
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
11
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
@@ -47,16 +47,16 @@
|
|
47
47
|
|
48
48
|
|
49
49
|
<div id="fileHeader">
|
50
|
-
<h1>
|
50
|
+
<h1>connection.rb</h1>
|
51
51
|
<table class="header-table">
|
52
52
|
<tr class="top-aligned-row">
|
53
53
|
<td><strong>Path:</strong></td>
|
54
|
-
<td>lib/quickbooks/
|
54
|
+
<td>lib/quickbooks/connection.rb
|
55
55
|
</td>
|
56
56
|
</tr>
|
57
57
|
<tr class="top-aligned-row">
|
58
58
|
<td><strong>Last Update:</strong></td>
|
59
|
-
<td>
|
59
|
+
<td>Fri Sep 15 10:18:47 Pacific Standard Time 2006</td>
|
60
60
|
</tr>
|
61
61
|
</table>
|
62
62
|
</div>
|