quickeebooks 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +19 -16
- data/README.md +29 -23
- data/coverage/assets/0.7.1/application.css +1110 -0
- data/coverage/assets/0.7.1/application.js +626 -0
- data/coverage/assets/0.7.1/fancybox/blank.gif +0 -0
- data/coverage/assets/0.7.1/fancybox/fancy_close.png +0 -0
- data/coverage/assets/0.7.1/fancybox/fancy_loading.png +0 -0
- data/coverage/assets/0.7.1/fancybox/fancy_nav_left.png +0 -0
- data/coverage/assets/0.7.1/fancybox/fancy_nav_right.png +0 -0
- data/coverage/assets/0.7.1/fancybox/fancy_shadow_e.png +0 -0
- data/coverage/assets/0.7.1/fancybox/fancy_shadow_n.png +0 -0
- data/coverage/assets/0.7.1/fancybox/fancy_shadow_ne.png +0 -0
- data/coverage/assets/0.7.1/fancybox/fancy_shadow_nw.png +0 -0
- data/coverage/assets/0.7.1/fancybox/fancy_shadow_s.png +0 -0
- data/coverage/assets/0.7.1/fancybox/fancy_shadow_se.png +0 -0
- data/coverage/assets/0.7.1/fancybox/fancy_shadow_sw.png +0 -0
- data/coverage/assets/0.7.1/fancybox/fancy_shadow_w.png +0 -0
- data/coverage/assets/0.7.1/fancybox/fancy_title_left.png +0 -0
- data/coverage/assets/0.7.1/fancybox/fancy_title_main.png +0 -0
- data/coverage/assets/0.7.1/fancybox/fancy_title_over.png +0 -0
- data/coverage/assets/0.7.1/fancybox/fancy_title_right.png +0 -0
- data/coverage/assets/0.7.1/fancybox/fancybox-x.png +0 -0
- data/coverage/assets/0.7.1/fancybox/fancybox-y.png +0 -0
- data/coverage/assets/0.7.1/fancybox/fancybox.png +0 -0
- data/coverage/assets/0.7.1/favicon_green.png +0 -0
- data/coverage/assets/0.7.1/favicon_red.png +0 -0
- data/coverage/assets/0.7.1/favicon_yellow.png +0 -0
- data/coverage/assets/0.7.1/loading.gif +0 -0
- data/coverage/assets/0.7.1/magnify.png +0 -0
- data/coverage/assets/0.7.1/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/coverage/assets/0.7.1/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/coverage/assets/0.7.1/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/coverage/assets/0.7.1/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/coverage/assets/0.7.1/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/coverage/assets/0.7.1/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/coverage/assets/0.7.1/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/coverage/assets/0.7.1/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/coverage/index.html +29154 -0
- data/lib/quickeebooks/common/online_line_item_model_methods.rb +43 -0
- data/lib/quickeebooks/common/service_crud.rb +56 -0
- data/lib/quickeebooks/online/model/bill.rb +26 -0
- data/lib/quickeebooks/online/model/bill_header.rb +21 -0
- data/lib/quickeebooks/online/model/bill_line_item.rb +22 -0
- data/lib/quickeebooks/online/model/bill_reimbursable.rb +11 -0
- data/lib/quickeebooks/online/model/invoice.rb +2 -31
- data/lib/quickeebooks/online/model/payment.rb +5 -33
- data/lib/quickeebooks/online/service/bill.rb +17 -0
- data/lib/quickeebooks/online/service/customer.rb +3 -47
- data/lib/quickeebooks/online/service/invoice.rb +1 -1
- data/lib/quickeebooks/online/service/payment.rb +3 -46
- data/lib/quickeebooks/online/service/service_base.rb +3 -2
- data/lib/quickeebooks/online/service/sort.rb +1 -12
- data/lib/quickeebooks/shared/service/filter.rb +19 -2
- data/lib/quickeebooks/shared/service/sort.rb +22 -0
- data/lib/quickeebooks/version.rb +1 -1
- data/lib/quickeebooks/windows/service/clazz.rb +1 -5
- data/lib/quickeebooks/windows/service/customer.rb +9 -13
- data/lib/quickeebooks/windows/service/item.rb +2 -5
- data/lib/quickeebooks/windows/service/service_base.rb +30 -15
- data/lib/quickeebooks/windows/service/sort.rb +8 -0
- data/lib/quickeebooks.rb +11 -5
- data/quickeebooks.gemspec +2 -2
- data/spec/quickeebooks/common/online_line_item_model_methods_spec.rb +41 -0
- data/spec/quickeebooks/common/service_crud_spec.rb +41 -0
- data/spec/quickeebooks/online/account_spec.rb +4 -8
- data/spec/quickeebooks/online/bill_spec.rb +17 -0
- data/spec/quickeebooks/online/company_meta_data_spec.rb +6 -9
- data/spec/quickeebooks/online/customer_spec.rb +10 -14
- data/spec/quickeebooks/online/invoice_spec.rb +3 -7
- data/spec/quickeebooks/online/payment_spec.rb +6 -10
- data/spec/quickeebooks/online/services/account_spec.rb +8 -13
- data/spec/quickeebooks/online/services/bill_spec.rb +61 -0
- data/spec/quickeebooks/online/services/company_meta_data_spec.rb +2 -7
- data/spec/quickeebooks/online/services/customer_spec.rb +15 -20
- data/spec/quickeebooks/online/services/filter_spec.rb +0 -5
- data/spec/quickeebooks/online/services/invoice_spec.rb +5 -10
- data/spec/quickeebooks/online/services/payment_spec.rb +63 -0
- data/spec/quickeebooks/online/services/service_base_spec.rb +62 -9
- data/spec/quickeebooks/shared/access_token_spec.rb +6 -11
- data/spec/quickeebooks/shared/filter_spec.rb +159 -0
- data/spec/quickeebooks/shared/sort_spec.rb +17 -0
- data/spec/quickeebooks/windows/customer_spec.rb +11 -15
- data/spec/quickeebooks/windows/services/class_spec.rb +2 -7
- data/spec/quickeebooks/windows/services/company_meta_data_spec.rb +2 -7
- data/spec/quickeebooks/windows/services/customer_spec.rb +16 -21
- data/spec/quickeebooks/windows/services/invoice_spec.rb +13 -19
- data/spec/quickeebooks/windows/services/payment_spec.rb +6 -12
- data/spec/quickeebooks/windows/services/sales_rep_spec.rb +6 -11
- data/spec/quickeebooks/windows/services/sales_taxes_spec.rb +5 -10
- data/spec/quickeebooks/windows/services/service_base_spec.rb +95 -0
- data/spec/quickeebooks/windows/services/ship_method_spec.rb +4 -9
- data/spec/quickeebooks_spec.rb +0 -3
- data/spec/spec_helper.rb +30 -1
- data/spec/support/oauth.rb +20 -0
- data/spec/xml/online/bill.xml +32 -0
- data/spec/xml/online/bill2.xml +32 -0
- data/spec/xml/online/bills.xml +33 -0
- data/spec/xml/online/payment.xml +1 -1
- data/spec/xml/online/payment2.xml +24 -0
- data/spec/xml/online/payments.xml +30 -0
- metadata +103 -40
- data/spec/quickeebooks/online/services/sort_spec.rb +0 -17
@@ -0,0 +1,30 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
2
|
+
<qbo:SearchResults xmlns:qbo="http://www.intuit.com/sb/cdm/qbo" xmlns="http://www.intuit.com/sb/cdm/v2"
|
3
|
+
xmlns:qbp="http://www.intuit.com/sb/cdm/qbopayroll/v1">
|
4
|
+
<qbo:CdmCollections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="Payments">
|
5
|
+
<Payment>
|
6
|
+
<Id>47</Id>
|
7
|
+
<SyncToken>1</SyncToken>
|
8
|
+
<MetaData>
|
9
|
+
<CreateTime>2010-09-14T05:33:24-07:00</CreateTime>
|
10
|
+
<LastUpdatedTime>2010-09-14T05:42:00-07:00</LastUpdatedTime>
|
11
|
+
</MetaData>
|
12
|
+
<Header>
|
13
|
+
<DocNumber>54</DocNumber>
|
14
|
+
<TxnDate>2010-08-09</TxnDate>
|
15
|
+
<Note>Payment against Invoice</Note>
|
16
|
+
<CustomerId>5</CustomerId>
|
17
|
+
<DepositToAccountId>41</DepositToAccountId>
|
18
|
+
<PaymentMethodId>1</PaymentMethodId>
|
19
|
+
<TotalAmt>50.00</TotalAmt>
|
20
|
+
<ProcessPayment>false</ProcessPayment>
|
21
|
+
</Header>
|
22
|
+
<Line>
|
23
|
+
<Amount>50.00</Amount>
|
24
|
+
<TxnId>8</TxnId>
|
25
|
+
</Line>
|
26
|
+
</Payment>
|
27
|
+
</qbo:CdmCollections>
|
28
|
+
<qbo:Count>1</qbo:Count>
|
29
|
+
<qbo:CurrentPage>1</qbo:CurrentPage>
|
30
|
+
</qbo:SearchResults>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: quickeebooks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,181 +9,228 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-03-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: roxml
|
16
|
+
prerelease: false
|
16
17
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: '0'
|
22
|
+
none: false
|
22
23
|
type: :runtime
|
23
|
-
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
25
|
requirements:
|
27
26
|
- - ! '>='
|
28
27
|
- !ruby/object:Gem::Version
|
29
28
|
version: '0'
|
29
|
+
none: false
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: oauth
|
32
|
+
prerelease: false
|
32
33
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
34
|
requirements:
|
35
35
|
- - ! '>='
|
36
36
|
- !ruby/object:Gem::Version
|
37
37
|
version: '0'
|
38
|
+
none: false
|
38
39
|
type: :runtime
|
39
|
-
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
41
|
requirements:
|
43
42
|
- - ! '>='
|
44
43
|
- !ruby/object:Gem::Version
|
45
44
|
version: '0'
|
45
|
+
none: false
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: nokogiri
|
48
|
+
prerelease: false
|
48
49
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
50
|
requirements:
|
51
51
|
- - ! '>='
|
52
52
|
- !ruby/object:Gem::Version
|
53
53
|
version: '0'
|
54
|
+
none: false
|
54
55
|
type: :runtime
|
55
|
-
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
57
|
requirements:
|
59
58
|
- - ! '>='
|
60
59
|
- !ruby/object:Gem::Version
|
61
60
|
version: '0'
|
61
|
+
none: false
|
62
62
|
- !ruby/object:Gem::Dependency
|
63
63
|
name: activemodel
|
64
|
+
prerelease: false
|
64
65
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
66
|
requirements:
|
67
67
|
- - ! '>='
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '0'
|
70
|
+
none: false
|
70
71
|
type: :runtime
|
71
|
-
prerelease: false
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
73
|
requirements:
|
75
74
|
- - ! '>='
|
76
75
|
- !ruby/object:Gem::Version
|
77
76
|
version: '0'
|
77
|
+
none: false
|
78
78
|
- !ruby/object:Gem::Dependency
|
79
79
|
name: uuidtools
|
80
|
+
prerelease: false
|
80
81
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
82
|
requirements:
|
83
83
|
- - ! '>='
|
84
84
|
- !ruby/object:Gem::Version
|
85
85
|
version: '0'
|
86
|
+
none: false
|
86
87
|
type: :runtime
|
87
|
-
prerelease: false
|
88
88
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
89
|
requirements:
|
91
90
|
- - ! '>='
|
92
91
|
- !ruby/object:Gem::Version
|
93
92
|
version: '0'
|
93
|
+
none: false
|
94
94
|
- !ruby/object:Gem::Dependency
|
95
95
|
name: rake
|
96
|
+
prerelease: false
|
96
97
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
98
|
requirements:
|
99
99
|
- - ! '>='
|
100
100
|
- !ruby/object:Gem::Version
|
101
101
|
version: '0'
|
102
|
+
none: false
|
102
103
|
type: :development
|
103
|
-
prerelease: false
|
104
104
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
105
|
requirements:
|
107
106
|
- - ! '>='
|
108
107
|
- !ruby/object:Gem::Version
|
109
108
|
version: '0'
|
109
|
+
none: false
|
110
110
|
- !ruby/object:Gem::Dependency
|
111
|
-
name:
|
111
|
+
name: simplecov
|
112
|
+
prerelease: false
|
112
113
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
114
|
requirements:
|
115
|
-
- -
|
115
|
+
- - ! '>='
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 0
|
117
|
+
version: '0'
|
118
|
+
none: false
|
118
119
|
type: :development
|
119
|
-
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
121
|
requirements:
|
123
|
-
- -
|
122
|
+
- - ! '>='
|
124
123
|
- !ruby/object:Gem::Version
|
125
|
-
version: 0
|
124
|
+
version: '0'
|
125
|
+
none: false
|
126
126
|
- !ruby/object:Gem::Dependency
|
127
127
|
name: rr
|
128
|
+
prerelease: false
|
128
129
|
requirement: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
130
|
requirements:
|
131
131
|
- - ~>
|
132
132
|
- !ruby/object:Gem::Version
|
133
133
|
version: 1.0.2
|
134
|
+
none: false
|
134
135
|
type: :development
|
135
|
-
prerelease: false
|
136
136
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
137
|
requirements:
|
139
138
|
- - ~>
|
140
139
|
- !ruby/object:Gem::Version
|
141
140
|
version: 1.0.2
|
141
|
+
none: false
|
142
142
|
- !ruby/object:Gem::Dependency
|
143
143
|
name: rspec
|
144
|
+
prerelease: false
|
144
145
|
requirement: !ruby/object:Gem::Requirement
|
145
|
-
none: false
|
146
146
|
requirements:
|
147
147
|
- - '='
|
148
148
|
- !ruby/object:Gem::Version
|
149
149
|
version: 2.11.0
|
150
|
+
none: false
|
150
151
|
type: :development
|
151
|
-
prerelease: false
|
152
152
|
version_requirements: !ruby/object:Gem::Requirement
|
153
|
-
none: false
|
154
153
|
requirements:
|
155
154
|
- - '='
|
156
155
|
- !ruby/object:Gem::Version
|
157
156
|
version: 2.11.0
|
157
|
+
none: false
|
158
158
|
- !ruby/object:Gem::Dependency
|
159
159
|
name: fakeweb
|
160
|
+
prerelease: false
|
160
161
|
requirement: !ruby/object:Gem::Requirement
|
161
|
-
none: false
|
162
162
|
requirements:
|
163
163
|
- - ! '>='
|
164
164
|
- !ruby/object:Gem::Version
|
165
165
|
version: '0'
|
166
|
+
none: false
|
166
167
|
type: :development
|
167
|
-
prerelease: false
|
168
168
|
version_requirements: !ruby/object:Gem::Requirement
|
169
|
-
none: false
|
170
169
|
requirements:
|
171
170
|
- - ! '>='
|
172
171
|
- !ruby/object:Gem::Version
|
173
172
|
version: '0'
|
173
|
+
none: false
|
174
174
|
description: REST API to Quickbooks Online/Windows via Intuit Data Services
|
175
175
|
email: toolbag@gmail.com
|
176
176
|
executables: []
|
177
177
|
extensions: []
|
178
178
|
extra_rdoc_files: []
|
179
179
|
files:
|
180
|
+
- coverage/assets/0.7.1/application.css
|
181
|
+
- coverage/assets/0.7.1/application.js
|
182
|
+
- coverage/assets/0.7.1/fancybox/blank.gif
|
183
|
+
- coverage/assets/0.7.1/fancybox/fancy_close.png
|
184
|
+
- coverage/assets/0.7.1/fancybox/fancy_loading.png
|
185
|
+
- coverage/assets/0.7.1/fancybox/fancy_nav_left.png
|
186
|
+
- coverage/assets/0.7.1/fancybox/fancy_nav_right.png
|
187
|
+
- coverage/assets/0.7.1/fancybox/fancy_shadow_e.png
|
188
|
+
- coverage/assets/0.7.1/fancybox/fancy_shadow_n.png
|
189
|
+
- coverage/assets/0.7.1/fancybox/fancy_shadow_ne.png
|
190
|
+
- coverage/assets/0.7.1/fancybox/fancy_shadow_nw.png
|
191
|
+
- coverage/assets/0.7.1/fancybox/fancy_shadow_s.png
|
192
|
+
- coverage/assets/0.7.1/fancybox/fancy_shadow_se.png
|
193
|
+
- coverage/assets/0.7.1/fancybox/fancy_shadow_sw.png
|
194
|
+
- coverage/assets/0.7.1/fancybox/fancy_shadow_w.png
|
195
|
+
- coverage/assets/0.7.1/fancybox/fancy_title_left.png
|
196
|
+
- coverage/assets/0.7.1/fancybox/fancy_title_main.png
|
197
|
+
- coverage/assets/0.7.1/fancybox/fancy_title_over.png
|
198
|
+
- coverage/assets/0.7.1/fancybox/fancy_title_right.png
|
199
|
+
- coverage/assets/0.7.1/fancybox/fancybox-x.png
|
200
|
+
- coverage/assets/0.7.1/fancybox/fancybox-y.png
|
201
|
+
- coverage/assets/0.7.1/fancybox/fancybox.png
|
202
|
+
- coverage/assets/0.7.1/favicon_green.png
|
203
|
+
- coverage/assets/0.7.1/favicon_red.png
|
204
|
+
- coverage/assets/0.7.1/favicon_yellow.png
|
205
|
+
- coverage/assets/0.7.1/loading.gif
|
206
|
+
- coverage/assets/0.7.1/magnify.png
|
207
|
+
- coverage/assets/0.7.1/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
|
208
|
+
- coverage/assets/0.7.1/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
|
209
|
+
- coverage/assets/0.7.1/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
|
210
|
+
- coverage/assets/0.7.1/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
|
211
|
+
- coverage/assets/0.7.1/smoothness/images/ui-bg_glass_75_dadada_1x400.png
|
212
|
+
- coverage/assets/0.7.1/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
|
213
|
+
- coverage/assets/0.7.1/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
|
214
|
+
- coverage/assets/0.7.1/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
|
215
|
+
- coverage/assets/0.7.1/smoothness/images/ui-icons_222222_256x240.png
|
216
|
+
- coverage/assets/0.7.1/smoothness/images/ui-icons_2e83ff_256x240.png
|
217
|
+
- coverage/assets/0.7.1/smoothness/images/ui-icons_454545_256x240.png
|
218
|
+
- coverage/assets/0.7.1/smoothness/images/ui-icons_888888_256x240.png
|
219
|
+
- coverage/assets/0.7.1/smoothness/images/ui-icons_cd0a0a_256x240.png
|
220
|
+
- coverage/index.html
|
180
221
|
- Gemfile
|
181
222
|
- Gemfile.lock
|
182
223
|
- HISTORY.md
|
224
|
+
- lib/quickeebooks/common/online_line_item_model_methods.rb
|
225
|
+
- lib/quickeebooks/common/service_crud.rb
|
183
226
|
- lib/quickeebooks/online/model/account.rb
|
184
227
|
- lib/quickeebooks/online/model/account_detail_type.rb
|
185
228
|
- lib/quickeebooks/online/model/account_reference.rb
|
186
229
|
- lib/quickeebooks/online/model/address.rb
|
230
|
+
- lib/quickeebooks/online/model/bill.rb
|
231
|
+
- lib/quickeebooks/online/model/bill_header.rb
|
232
|
+
- lib/quickeebooks/online/model/bill_line_item.rb
|
233
|
+
- lib/quickeebooks/online/model/bill_reimbursable.rb
|
187
234
|
- lib/quickeebooks/online/model/company_meta_data.rb
|
188
235
|
- lib/quickeebooks/online/model/credit_card.rb
|
189
236
|
- lib/quickeebooks/online/model/credit_charge_info.rb
|
@@ -211,6 +258,7 @@ files:
|
|
211
258
|
- lib/quickeebooks/online/model/web_site.rb
|
212
259
|
- lib/quickeebooks/online/service/access_token.rb
|
213
260
|
- lib/quickeebooks/online/service/account.rb
|
261
|
+
- lib/quickeebooks/online/service/bill.rb
|
214
262
|
- lib/quickeebooks/online/service/company_meta_data.rb
|
215
263
|
- lib/quickeebooks/online/service/customer.rb
|
216
264
|
- lib/quickeebooks/online/service/entitlement.rb
|
@@ -223,6 +271,7 @@ files:
|
|
223
271
|
- lib/quickeebooks/online/service/sort.rb
|
224
272
|
- lib/quickeebooks/shared/service/access_token.rb
|
225
273
|
- lib/quickeebooks/shared/service/filter.rb
|
274
|
+
- lib/quickeebooks/shared/service/sort.rb
|
226
275
|
- lib/quickeebooks/version.rb
|
227
276
|
- lib/quickeebooks/windows/model/account.rb
|
228
277
|
- lib/quickeebooks/windows/model/account_detail_type.rb
|
@@ -288,25 +337,32 @@ files:
|
|
288
337
|
- lib/quickeebooks/windows/service/sales_tax.rb
|
289
338
|
- lib/quickeebooks/windows/service/service_base.rb
|
290
339
|
- lib/quickeebooks/windows/service/ship_method.rb
|
340
|
+
- lib/quickeebooks/windows/service/sort.rb
|
291
341
|
- lib/quickeebooks.rb
|
292
342
|
- MIT-LICENSE
|
293
343
|
- quickeebooks.gemspec
|
294
344
|
- Rakefile
|
295
345
|
- README.md
|
296
346
|
- spec/mocks/oauth_consumer_mock.rb
|
347
|
+
- spec/quickeebooks/common/online_line_item_model_methods_spec.rb
|
348
|
+
- spec/quickeebooks/common/service_crud_spec.rb
|
297
349
|
- spec/quickeebooks/online/account_spec.rb
|
350
|
+
- spec/quickeebooks/online/bill_spec.rb
|
298
351
|
- spec/quickeebooks/online/company_meta_data_spec.rb
|
299
352
|
- spec/quickeebooks/online/customer_spec.rb
|
300
353
|
- spec/quickeebooks/online/invoice_spec.rb
|
301
354
|
- spec/quickeebooks/online/payment_spec.rb
|
302
355
|
- spec/quickeebooks/online/services/account_spec.rb
|
356
|
+
- spec/quickeebooks/online/services/bill_spec.rb
|
303
357
|
- spec/quickeebooks/online/services/company_meta_data_spec.rb
|
304
358
|
- spec/quickeebooks/online/services/customer_spec.rb
|
305
359
|
- spec/quickeebooks/online/services/filter_spec.rb
|
306
360
|
- spec/quickeebooks/online/services/invoice_spec.rb
|
361
|
+
- spec/quickeebooks/online/services/payment_spec.rb
|
307
362
|
- spec/quickeebooks/online/services/service_base_spec.rb
|
308
|
-
- spec/quickeebooks/online/services/sort_spec.rb
|
309
363
|
- spec/quickeebooks/shared/access_token_spec.rb
|
364
|
+
- spec/quickeebooks/shared/filter_spec.rb
|
365
|
+
- spec/quickeebooks/shared/sort_spec.rb
|
310
366
|
- spec/quickeebooks/windows/customer_spec.rb
|
311
367
|
- spec/quickeebooks/windows/services/class_spec.rb
|
312
368
|
- spec/quickeebooks/windows/services/company_meta_data_spec.rb
|
@@ -315,12 +371,17 @@ files:
|
|
315
371
|
- spec/quickeebooks/windows/services/payment_spec.rb
|
316
372
|
- spec/quickeebooks/windows/services/sales_rep_spec.rb
|
317
373
|
- spec/quickeebooks/windows/services/sales_taxes_spec.rb
|
374
|
+
- spec/quickeebooks/windows/services/service_base_spec.rb
|
318
375
|
- spec/quickeebooks/windows/services/ship_method_spec.rb
|
319
376
|
- spec/quickeebooks_spec.rb
|
320
377
|
- spec/spec_helper.rb
|
378
|
+
- spec/support/oauth.rb
|
321
379
|
- spec/xml/online/account.xml
|
322
380
|
- spec/xml/online/accounts.xml
|
323
381
|
- spec/xml/online/api_error.xml
|
382
|
+
- spec/xml/online/bill.xml
|
383
|
+
- spec/xml/online/bill2.xml
|
384
|
+
- spec/xml/online/bills.xml
|
324
385
|
- spec/xml/online/company_meta_data.xml
|
325
386
|
- spec/xml/online/customer.xml
|
326
387
|
- spec/xml/online/customer2.xml
|
@@ -329,6 +390,8 @@ files:
|
|
329
390
|
- spec/xml/online/invalid_user.xml
|
330
391
|
- spec/xml/online/invoice.xml
|
331
392
|
- spec/xml/online/payment.xml
|
393
|
+
- spec/xml/online/payment2.xml
|
394
|
+
- spec/xml/online/payments.xml
|
332
395
|
- spec/xml/online/user.xml
|
333
396
|
- spec/xml/shared/disconnect_invalid.xml
|
334
397
|
- spec/xml/shared/disconnect_success.xml
|
@@ -359,17 +422,17 @@ rdoc_options: []
|
|
359
422
|
require_paths:
|
360
423
|
- lib
|
361
424
|
required_ruby_version: !ruby/object:Gem::Requirement
|
362
|
-
none: false
|
363
425
|
requirements:
|
364
426
|
- - ! '>='
|
365
427
|
- !ruby/object:Gem::Version
|
366
428
|
version: '0'
|
367
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
368
429
|
none: false
|
430
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
369
431
|
requirements:
|
370
432
|
- - ! '>='
|
371
433
|
- !ruby/object:Gem::Version
|
372
434
|
version: '0'
|
435
|
+
none: false
|
373
436
|
requirements: []
|
374
437
|
rubyforge_project:
|
375
438
|
rubygems_version: 1.8.24
|
@@ -1,17 +0,0 @@
|
|
1
|
-
require "spec_helper"
|
2
|
-
require "fakeweb"
|
3
|
-
require "oauth"
|
4
|
-
require "quickeebooks"
|
5
|
-
|
6
|
-
describe "Quickeebooks::Online::Service::Sort" do
|
7
|
-
before(:all) do
|
8
|
-
end
|
9
|
-
|
10
|
-
it "can generate a sorting parameter" do
|
11
|
-
filter = Quickeebooks::Online::Service::Sort.new("FirstName", "NewestToOldest")
|
12
|
-
filter.to_s.should == "FirstName NewestToOldest"
|
13
|
-
end
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
end
|