quickbooks-payments 0.0.7 → 0.0.8

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: 11f4b37b2b9d9afa387fb93a820c53fac396372b
4
- data.tar.gz: b91c8941efeb218f85c4acd3fbdc7df728b7bfbd
3
+ metadata.gz: 9631c732c060656170f09748d1541bc33bc9eb61
4
+ data.tar.gz: 914f490afe74ea8bbd7ed437e5f8b3bca39931a5
5
5
  SHA512:
6
- metadata.gz: c1091da559e6a11d2b9ed4d3c311b6d358ca3f498de1f4c6153d0bd72669e51c3660127d5d3aa946f3a6d7d25846d0caa761b3b6d2ab852da0801bfd217668d9
7
- data.tar.gz: d02cf62d01ffb46f0167b7cfb34c820e0df2791cf8f099787014f60a711467fd3779ebe00c4dd468d47ebbd9b0157fe8c99993be195429fb286b90403af43cf4
6
+ metadata.gz: afeffb6880d68c8153d60edda0030248ca776a86a148b46c61de20a062e936b8f8270a612a89440cc7fd3e7a5297a732034891c4913d207865d11a34aa0c769e
7
+ data.tar.gz: 1085dc53fd3ccf6bacc12984f3f4ff68923b92cddc54a52dc736ae54859c0328db7a2ed097fbf0c75fbceb8be64a3de7b20402a0879cedfdd00c1ef849cac125
data/CHANGELOG.md ADDED
@@ -0,0 +1,3 @@
1
+ # Version 0.0.8
2
+
3
+ [PR #7](https://github.com/danielma/quickbooks-payments/pull/7) - Errors for charges
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- quickbooks-payments (0.0.7)
4
+ quickbooks-payments (0.0.8)
5
5
  oauth (~> 0.4)
6
6
 
7
7
  GEM
@@ -100,3 +100,6 @@ DEPENDENCIES
100
100
  rubocop (~> 0.33)
101
101
  terminal-notifier (~> 1)
102
102
  webmock (~> 1)
103
+
104
+ BUNDLED WITH
105
+ 1.10.6
@@ -9,7 +9,7 @@ module Quickbooks
9
9
  @root_url = '/quickbooks/v4/payments/charges'
10
10
 
11
11
  attr_accessor :status, :amount, :currency, :token, :id, :auth_code,
12
- :request_id
12
+ :request_id, :errors
13
13
  attr_reader :created_at
14
14
 
15
15
  alias_method :authCode=, :auth_code=
@@ -81,6 +81,12 @@ module Quickbooks
81
81
  end
82
82
 
83
83
  alias_method :created=, :created_at=
84
+
85
+ # Getters
86
+
87
+ def error?
88
+ errors.any?
89
+ end
84
90
  end
85
91
  end
86
92
  end
@@ -1,5 +1,5 @@
1
1
  module Quickbooks
2
2
  module Payments
3
- VERSION = '0.0.7'
3
+ VERSION = '0.0.8'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quickbooks-payments
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Ma
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-09-09 00:00:00.000000000 Z
11
+ date: 2015-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -162,6 +162,7 @@ files:
162
162
  - ".rspec"
163
163
  - ".rubocop.yml"
164
164
  - ".travis.yml"
165
+ - CHANGELOG.md
165
166
  - Gemfile
166
167
  - Gemfile.lock
167
168
  - Guardfile
@@ -195,7 +196,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
195
196
  version: '0'
196
197
  requirements: []
197
198
  rubyforge_project:
198
- rubygems_version: 2.2.2
199
+ rubygems_version: 2.2.3
199
200
  signing_key:
200
201
  specification_version: 4
201
202
  summary: Quickbooks Payments for Ruby