Skip to content

Commit

Permalink
preparing release 2.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
ruckus committed Jul 25, 2024
1 parent c5865a1 commit b0523b0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.0.5 (2024-07-25)

* Added BCC field to Bill Model. Integrated the PR manually. https://github.com/ruckus/quickbooks-ruby/pull/614 Thanks @hammad-Ikhlaq-7vals

## 2.0.4 (2024-07-23)

* Loosen faraday-gzip to a version that can use > zlib-2.1.1 (#613). Thank you @technicalpickles
Expand Down
5 changes: 5 additions & 0 deletions lib/quickbooks/model/invoice.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ class Invoice < BaseModel
xml_accessor :allow_online_ach_payment?, :from => 'AllowOnlineACHPayment'
xml_accessor :deposit_to_account_ref, :from => 'DepositToAccountRef', :as => BaseReference
xml_accessor :bill_email_cc, :from => 'BillEmailCc', :as => EmailAddress
xml_accessor :bill_email_bcc, :from => 'BillEmailBcc', :as => EmailAddress


reference_setters
Expand Down Expand Up @@ -93,6 +94,10 @@ def billing_email_cc_address=(email_address_string)
self.bill_email_cc = EmailAddress.new(email_address_string)
end

def billing_email_bcc_address=(email_address_string)
self.bill_email_bcc = EmailAddress.new(email_address_string)
end

def wants_billing_email_sent!
self.email_status = EMAIL_STATUS_NEED_TO_SEND
end
Expand Down
2 changes: 1 addition & 1 deletion lib/quickbooks/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Quickbooks

VERSION = "2.0.4"
VERSION = "2.0.5"

end

0 comments on commit b0523b0

Please sign in to comment.