quickbooks-ruby 2.0.5 → 2.0.6
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 730dafbc4beec7acb4c3ff63a2311f8088cd427185b7234dac3b48d0b3e302b6
|
4
|
+
data.tar.gz: 0aef77414c5da511f8eecb2877424e26b7bbe253761a221cb52bbc85ea43ad82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00641e30fc51bb21540d6538885851c9ec734c326dfd165125c9c5e6f5c200733e77cdf3a3b95b059820e9621120b1f434843c3167eaf8c608c83719df7c3f02
|
7
|
+
data.tar.gz: d9dab4d8e57430eb1e325c4a35ea637589e65d76440b9754d6049d11c557a6173ec2980d339b4dd8060ec3a082947e1083cdfa984b73c2a94ec7e179a8592d4f
|
@@ -19,7 +19,7 @@ module Quickbooks
|
|
19
19
|
PREFERENCE_SECTIONS = {
|
20
20
|
:accounting_info => %w(TrackDepartments DepartmentTerminology ClassTrackingPerTxnLine? ClassTrackingPerTxn? CustomerTerminology),
|
21
21
|
:product_and_services => %w(ForSales? ForPurchase? QuantityWithPriceAndRate? QuantityOnHand?),
|
22
|
-
:
|
22
|
+
:vendor_and_purchases => %w(TrackingByCustomer? BillableExpenseTracking? DefaultTerms? DefaultMarkup? POCustomField),
|
23
23
|
:time_tracking => %w(UseServices? BillCustomers? ShowBillRateToAll WorkWeekStartDate MarkTimeEntiresBillable?),
|
24
24
|
:tax => %w(UsingSalesTax? PartnerTaxEnabled?),
|
25
25
|
:currency => %w(MultiCurrencyEnabled? HomeCurrency),
|
@@ -6,6 +6,12 @@ module Quickbooks
|
|
6
6
|
delete_by_query_string(refund_receipt)
|
7
7
|
end
|
8
8
|
|
9
|
+
def pdf(refund_receipt)
|
10
|
+
url = "#{url_for_resource(model::REST_RESOURCE)}/#{refund_receipt.id}/pdf"
|
11
|
+
response = do_http_raw_get(url, {}, {'Accept' => 'application/pdf'})
|
12
|
+
response.plain_body
|
13
|
+
end
|
14
|
+
|
9
15
|
private
|
10
16
|
|
11
17
|
def model
|
data/lib/quickbooks/version.rb
CHANGED
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: 2.0.
|
4
|
+
version: 2.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cody Caughlan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oauth2
|