quickbooks-ruby 1.0.13 → 1.0.14

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
  SHA256:
3
- metadata.gz: bf1160c6870349d14bf78a92cffbe5ba9efc7bceeaadafd3e51ea34b4b7bfdf3
4
- data.tar.gz: 635571fa507657b2d3c6f797c4b2f8906c127cf271a1d8209d73a41629d576dc
3
+ metadata.gz: a91f14d44295fcab83dc3f5caa10545bd63c936f82d47c1327b2b8876a8d72cf
4
+ data.tar.gz: 064b3d056d1033078f7132462553608160e898396bccd6cb684636931870da0b
5
5
  SHA512:
6
- metadata.gz: 1fc1352b4888a815049ccc95f4363636af5c157c8f2c67700250095b2a8cd1ba84c002247d405f533f82e0c0ba2d2c1fc62d41e95540e16b84be4ad3794953a3
7
- data.tar.gz: 69749db040976fcbaa4124776b00c96acfdac938858b9f3b56dbfeb02ec0587f37b8884e4557a569f9c50734f5091003930675dc31d0c6cc5f6e761446c52fec
6
+ metadata.gz: 7de5235ac72399787dd899721c7f3b7cec45ab0ce3b584f1fbfbf83622f996d68d0c478a0108bef089faf963f7e9278c48df25b615098974f062f6289c7f0129
7
+ data.tar.gz: b0f6adc762d49cba2c5aabc18d83e34c28f11936eaffd1ecf36875a643cc1227d901ab24150ace63afa2095ab3b6eb79c642e79cd063cf9aceb8a87666c9126d
@@ -24,10 +24,11 @@ module Quickbooks
24
24
  xml_accessor :attachable_ref, :from => 'AttachableRef', :as => BaseReference
25
25
  xml_accessor :vendor_ref, :from => 'VendorRef', :as => BaseReference
26
26
  xml_accessor :ap_account_ref, :from => 'APAccountRef', :as => BaseReference
27
+ xml_accessor :po_email, from: "POEmail", as: EmailAddress
27
28
  xml_accessor :class_ref, :from => 'ClassRef', :as => BaseReference
28
29
  xml_accessor :sales_term_ref, :from => 'SalesTermRef', :as => BaseReference
29
30
 
30
- xml_accessor :total, :from => 'TotalAmt', :as => BigDecimal, :to_xml => Proc.new { |val| val.to_f }
31
+ xml_accessor :total, :from => 'TotalAmt', :as => BigDecimal, :to_xml => to_xml_big_decimal
31
32
  xml_accessor :due_date, :from => 'DueDate', :as => Date
32
33
  xml_accessor :vendor_address, :from => 'VendorAddr', :as => PhysicalAddress
33
34
  xml_accessor :ship_address, :from => 'ShipAddr', :as => PhysicalAddress
@@ -41,6 +41,7 @@ module Quickbooks
41
41
  xml_accessor :account_number, :from => 'AcctNum'
42
42
  xml_accessor :is_1099?, :from => 'Vendor1099'
43
43
  xml_accessor :currency_ref, :from => 'CurrencyRef', :as => BaseReference
44
+ xml_accessor :bill_rate, from: "BillRate", as: BigDecimal, to_xml: to_xml_big_decimal
44
45
 
45
46
  #== Validations
46
47
  validate :names_cannot_contain_invalid_characters
@@ -1,5 +1,5 @@
1
1
  module Quickbooks
2
2
 
3
- VERSION = "1.0.13"
3
+ VERSION = "1.0.14"
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: 1.0.13
4
+ version: 1.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cody Caughlan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-07 00:00:00.000000000 Z
11
+ date: 2020-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oauth2