qbwc_requests 0.5.2 → 0.6.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0fb90dbdacc63fcef7f3b8d6f25d70068f81c557
4
- data.tar.gz: 35551c26be7c999ac1106906969912081b9448bb
3
+ metadata.gz: 208040ec93139fa2a3b2a73fd35cb3295254d085
4
+ data.tar.gz: 2254c86e1c86f0e71cdda8ac04faf365a0b1ea9c
5
5
  SHA512:
6
- metadata.gz: b5f4bfcde77126c45024a8d4ecc2e02f352af616ea3cf7ee76990948712affa3108cc5823ae7367ad6188b940a5a85e1955bdf4fc8967e1d85d7d1398accbcfb
7
- data.tar.gz: 58ea55ac76e4c873a4dfe744b25dfae4e51da510329e1fbe82e39d2540fc9e523a42f4f23c8b27eb03bf7537b03fb3f33573ddd9e593b04c866b3fe1d4944072
6
+ metadata.gz: 34c51cbed822448c7975a07a7703675efc0623ea42d33f5ef6589fc1f706b270497e2e9be1e9b6198d59289f252525f48f576da75f0344865695dcee29d6472e
7
+ data.tar.gz: 899d8f2efd4331a15b2fa441b96fff74c88e2c17b24a6fb1c3eb66d0feb2add36437482a23afb4834062b55af357d01c39eecd47207fe2a01d65382e0c79e62d
@@ -0,0 +1,11 @@
1
+ module QbwcRequests
2
+ module BillPaymentCheck
3
+ module V07
4
+ class Query < QbwcRequests::Base
5
+ field :max_returned
6
+ field :modified_date_range_filter
7
+ field :include_line_items
8
+ end
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,11 @@
1
+ module QbwcRequests
2
+ module BillPaymentCreditCard
3
+ module V07
4
+ class Query < QbwcRequests::Base
5
+ field :max_returned
6
+ field :modified_date_range_filter
7
+ field :include_line_items
8
+ end
9
+ end
10
+ end
11
+ end
@@ -1,3 +1,3 @@
1
1
  module QbwcRequests
2
- VERSION = "0.5.2"
2
+ VERSION = "0.6.0"
3
3
  end
data/lib/qbwc_requests.rb CHANGED
@@ -10,6 +10,8 @@ qbxml_models = [
10
10
  "account",
11
11
  "customer",
12
12
  "bill",
13
+ "bill_payment_check",
14
+ "bill_payment_credit_card",
13
15
  "estimate",
14
16
  "general_detail_report",
15
17
  "custom_detail_report",
@@ -38,7 +40,7 @@ dir_name = File.dirname(__FILE__)
38
40
 
39
41
  for qbxml_model in qbxml_models do
40
42
  Object.const_set(
41
- camelize(qbxml_model+"_qbxml"),
43
+ camelize(qbxml_model+"_qbxml"),
42
44
  Class.new { extend QbwcRequests::Factory }
43
45
  )
44
46
  Dir["#{dir_name}/qbwc_requests/#{qbxml_model}/**/*.rb"].each {|f| require f}
@@ -51,7 +53,7 @@ module QbwcRequests
51
53
  @@QBXML_VERSION = "07"
52
54
 
53
55
  def self.QBXML_VERSION
54
- @@QBXML_VERSION
56
+ @@QBXML_VERSION
55
57
  end
56
58
 
57
59
  def self.QBXML_VERSION= version
@@ -0,0 +1,9 @@
1
+ require 'spec_helper'
2
+
3
+ describe BillPaymentCheckQbxml do
4
+
5
+ describe BillPaymentCheckQbxml::Query do
6
+ it_behaves_like 'queryable'
7
+ end
8
+
9
+ end
@@ -0,0 +1,9 @@
1
+ require 'spec_helper'
2
+
3
+ describe BillPaymentCreditCardQbxml do
4
+
5
+ describe BillPaymentCreditCardQbxml::Query do
6
+ it_behaves_like 'queryable'
7
+ end
8
+
9
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qbwc_requests
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexandre Mondaini Calvão
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-15 00:00:00.000000000 Z
11
+ date: 2019-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: qbxml
@@ -115,6 +115,8 @@ files:
115
115
  - lib/qbwc_requests/base.rb
116
116
  - lib/qbwc_requests/bill/v07/add.rb
117
117
  - lib/qbwc_requests/bill/v07/query.rb
118
+ - lib/qbwc_requests/bill_payment_check/v07/query.rb
119
+ - lib/qbwc_requests/bill_payment_credit_card/v07/query.rb
118
120
  - lib/qbwc_requests/custom_detail_report/v07/query.rb
119
121
  - lib/qbwc_requests/customer/v07/add.rb
120
122
  - lib/qbwc_requests/customer/v07/query.rb
@@ -219,6 +221,8 @@ files:
219
221
  - quickbook/xml/qbxmlops70.xml
220
222
  - scripts/dtd_to_classes.rb
221
223
  - spec/account_qbxml_spec.rb
224
+ - spec/bill_payment_check_qbxml_spec.rb
225
+ - spec/bill_payment_credit_card_qbxml_spec.rb
222
226
  - spec/bill_qbxml_spec.rb
223
227
  - spec/custom_detail_report_qbxml_spec.rb
224
228
  - spec/customer_qbxml_spec.rb
@@ -269,6 +273,8 @@ specification_version: 4
269
273
  summary: This gem helps you generate Qbxml requests
270
274
  test_files:
271
275
  - spec/account_qbxml_spec.rb
276
+ - spec/bill_payment_check_qbxml_spec.rb
277
+ - spec/bill_payment_credit_card_qbxml_spec.rb
272
278
  - spec/bill_qbxml_spec.rb
273
279
  - spec/custom_detail_report_qbxml_spec.rb
274
280
  - spec/customer_qbxml_spec.rb