qbo_api 1.4.1 → 1.4.2
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 +4 -4
- data/README.md +7 -0
- data/lib/qbo_api/entity.rb +2 -2
- data/lib/qbo_api/raise_http_exception.rb +1 -1
- data/lib/qbo_api/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 75b86eaa49027fe32fde7711c739153a4ac00e1e
|
|
4
|
+
data.tar.gz: 4f8035cd4bd8bb1ac1095bf936152095734afc8d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bbac4bcb348aac0099de83caa41dd55ab846cbce0c8b854ce03311a8fd3c84d769f8179a6ece9c4ef2f6a17ebd3b12fbedf34bba1ab56ba252af110633b03342
|
|
7
|
+
data.tar.gz: 7dafeab7cca38c3bb8da2bd5b7a88215fb469a02b843297e45c3d9be6c624476628ef39b603549a8072005270d86abdfe59d8ba52b4c7584cb80d855c5726ffe
|
data/README.md
CHANGED
|
@@ -13,6 +13,13 @@ Ruby client for the QuickBooks Online API version 3.
|
|
|
13
13
|
- <a href="http://minimul.com/the-modern-ruby-quickbooks-client-part-2.html" target="_blank">Part 2</a>: <a href="https://github.com/minimul/qbo_api#running-the-specs">Running the specs</a> to aid you in understanding a QuickBooks API transaction.
|
|
14
14
|
- <a href="http://minimul.com/the-modern-ruby-quickbooks-client-contributing.html" target="_blank">Part 3</a>: <a href="https://github.com/minimul/qbo_api#creating-new-specs-or-modifying-existing-spec-that-have-been-recorded-using-the-vcr-gem">Contributing to the gem</a>.
|
|
15
15
|
|
|
16
|
+
## The Book
|
|
17
|
+
|
|
18
|
+
<a href="https://leanpub.com/minimul-qbo-guide-vol-1" target="_blank">
|
|
19
|
+
<img src="http://img.minimul.com/shared/crow-cover.png" alt="The QBO book">
|
|
20
|
+
</a>
|
|
21
|
+
|
|
22
|
+
|
|
16
23
|
## Ruby >= 2.2.2 required
|
|
17
24
|
|
|
18
25
|
## Installation
|
data/lib/qbo_api/entity.rb
CHANGED
|
@@ -71,7 +71,7 @@ module FaradayMiddleware
|
|
|
71
71
|
fault_type: res.at('Fault')['type'],
|
|
72
72
|
error_code: res.at('Error')['code'],
|
|
73
73
|
error_message: e.at('Message').content,
|
|
74
|
-
error_detail: e.at('Detail').content
|
|
74
|
+
error_detail: (detail = e.at('Detail')) ? detail.content : ''
|
|
75
75
|
}
|
|
76
76
|
end
|
|
77
77
|
end
|
data/lib/qbo_api/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: qbo_api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.4.
|
|
4
|
+
version: 1.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Christian Pelczarski
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-03-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -267,7 +267,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
267
267
|
version: '0'
|
|
268
268
|
requirements: []
|
|
269
269
|
rubyforge_project:
|
|
270
|
-
rubygems_version: 2.4.
|
|
270
|
+
rubygems_version: 2.4.5.2
|
|
271
271
|
signing_key:
|
|
272
272
|
specification_version: 4
|
|
273
273
|
summary: Ruby JSON-only client for QuickBooks Online API v3. Built on top of the Faraday
|