quickbooks-ruby 0.5.1 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 032e2863f3dbf2c3cb78e219ac9ffbe7fa48239a
4
- data.tar.gz: 3d8323afd5f2e8beaf0f6043f623835e04b132e8
3
+ metadata.gz: 11f05fc5c384553644ba7ba2ed461c898049b191
4
+ data.tar.gz: 7718c7501cc5a64095e7646c9ca3085adf8a5d9c
5
5
  SHA512:
6
- metadata.gz: 3f73cc89213c793400070713e99aa78a3552b84d9451aceb59ef8bb3c02de3f22e00cfd21217109da9daaa829f2baece4d92a323bb40122c8024972c8ffb74d4
7
- data.tar.gz: b3bef0e5f9d668ac628a8d821eaa481c62ed17a44bc7f35118aeee08075c9c47564cd828e4ab4b9da4ace87dd42d5c52a3e5d2b4f9c0fac929a790148d72eee9
6
+ metadata.gz: 4c7e44232ac11a31cc42fcdf0cd6c9639eae32a3840b08d232e387f626448106549db1258975155539ed5762c298d2e9e0e9d9c0510029842112bbcb0a40b76d
7
+ data.tar.gz: 4d08d07490bbe459d6a05741d39cb3c8581a83df8fb9e218c86fe653796ab3bc0074d1f554ec331f8d930b36d3e88554d6c7b9f88c1327324ab60963fa8ce6b5
@@ -93,6 +93,7 @@ require 'quickbooks/model/purchase_order'
93
93
  require 'quickbooks/model/vendor_credit'
94
94
  require 'quickbooks/model/estimate'
95
95
  require 'quickbooks/model/invoice'
96
+ require 'quickbooks/model/effective_tax_rate'
96
97
  require 'quickbooks/model/tax_rate'
97
98
  require 'quickbooks/model/tax_rate_detail'
98
99
  require 'quickbooks/model/tax_rate_detail_line'
@@ -0,0 +1,15 @@
1
+ require 'time'
2
+
3
+ module Quickbooks
4
+ module Model
5
+ class EffectiveTaxRate < BaseModel
6
+ XML_COLLECTION_NODE = "EffectiveTaxRate"
7
+ XML_NODE = "EffectiveTaxRate"
8
+ REST_RESOURCE = "effectivetaxrate"
9
+
10
+ xml_accessor :rate_value, :from => 'RateValue'
11
+ xml_accessor :effective_date, :from => 'EffectiveDate', :as => Time
12
+ xml_accessor :end_date, :from => 'EndDate', :as => Time
13
+ end
14
+ end
15
+ end
@@ -16,6 +16,7 @@ module Quickbooks
16
16
  xml_accessor :txn_date, :from => 'TxnDate', :as => Date
17
17
  xml_accessor :custom_fields, :from => 'CustomField', :as => [CustomField]
18
18
  xml_accessor :private_note, :from => 'PrivateNote'
19
+ xml_accessor :memo, :from => 'Memo'
19
20
 
20
21
  xml_accessor :linked_transactions, :from => 'LinkedTxn', :as => [LinkedTransaction]
21
22
  xml_accessor :line_items, :from => 'Line', :as => [PurchaseLineItem]
@@ -16,7 +16,7 @@ module Quickbooks
16
16
  xml_accessor :tax_return_line_ref, :from => "TaxReturnLineRef", :as => BaseReference
17
17
  xml_accessor :special_tax_type, :from => "SpecialTaxType"
18
18
  xml_accessor :display_type, :from => "DisplayType"
19
- xml_accessor :effective_tax_rate, :from => "EffectiveTaxRate"
19
+ xml_accessor :effective_tax_rate, :from => "EffectiveTaxRate", :as => [EffectiveTaxRate]
20
20
 
21
21
  validates_presence_of :name, :rate_value
22
22
 
@@ -1,5 +1,5 @@
1
1
  module Quickbooks
2
2
 
3
- VERSION = "0.5.1"
3
+ VERSION = "0.6.0"
4
4
 
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quickbooks-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cody Caughlan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-17 00:00:00.000000000 Z
11
+ date: 2018-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oauth
@@ -28,16 +28,22 @@ dependencies:
28
28
  name: roxml
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: 3.3.1
34
+ - - "<"
35
+ - !ruby/object:Gem::Version
36
+ version: '4.1'
34
37
  type: :runtime
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
37
40
  requirements:
38
- - - '='
41
+ - - ">="
39
42
  - !ruby/object:Gem::Version
40
43
  version: 3.3.1
44
+ - - "<"
45
+ - !ruby/object:Gem::Version
46
+ version: '4.1'
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: nokogiri
43
49
  requirement: !ruby/object:Gem::Requirement
@@ -195,6 +201,7 @@ files:
195
201
  - lib/quickbooks/model/discount_line_detail.rb
196
202
  - lib/quickbooks/model/discount_override.rb
197
203
  - lib/quickbooks/model/document_numbering.rb
204
+ - lib/quickbooks/model/effective_tax_rate.rb
198
205
  - lib/quickbooks/model/email_address.rb
199
206
  - lib/quickbooks/model/employee.rb
200
207
  - lib/quickbooks/model/entity.rb
@@ -336,7 +343,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
336
343
  version: '0'
337
344
  requirements: []
338
345
  rubyforge_project:
339
- rubygems_version: 2.4.6
346
+ rubygems_version: 2.6.8
340
347
  signing_key:
341
348
  specification_version: 4
342
349
  summary: REST API to Quickbooks Online