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 +4 -4
- data/CHANGELOG.md +3 -0
- data/Gemfile.lock +4 -1
- data/lib/quickbooks-payments/charge.rb +7 -1
- data/lib/quickbooks-payments/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9631c732c060656170f09748d1541bc33bc9eb61
|
4
|
+
data.tar.gz: 914f490afe74ea8bbd7ed437e5f8b3bca39931a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afeffb6880d68c8153d60edda0030248ca776a86a148b46c61de20a062e936b8f8270a612a89440cc7fd3e7a5297a732034891c4913d207865d11a34aa0c769e
|
7
|
+
data.tar.gz: 1085dc53fd3ccf6bacc12984f3f4ff68923b92cddc54a52dc736ae54859c0328db7a2ed097fbf0c75fbceb8be64a3de7b20402a0879cedfdd00c1ef849cac125
|
data/CHANGELOG.md
ADDED
data/Gemfile.lock
CHANGED
@@ -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
|
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.
|
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-
|
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.
|
199
|
+
rubygems_version: 2.2.3
|
199
200
|
signing_key:
|
200
201
|
specification_version: 4
|
201
202
|
summary: Quickbooks Payments for Ruby
|