pin_payment 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/pin_payment/bank_account.rb +2 -3
- data/lib/pin_payment/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6f9e83c1491377893364052ac15ebcaa486c7f39
|
4
|
+
data.tar.gz: ff071fcb3b6f47b30045d4cf6de3b641d5976a3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 181688cdd45686b3d457ba9923b7b14e01e71111f7077fb80fed714501c0d6181036c03faa203dd74f4ed801b88d1e32239030a8b0e4d32026acfb88dce7887a
|
7
|
+
data.tar.gz: 2477f7e5f8b3c790318272184a425e57fbf95412f3493d347277d426db88b38b5294d3fa8ba508da2efac7999ec5ac2b51955fd2256547ef38c16d8b2a6e3e3c
|
data/Gemfile.lock
CHANGED
@@ -18,11 +18,10 @@ module PinPayment
|
|
18
18
|
new(response.delete('token'), response)
|
19
19
|
end
|
20
20
|
|
21
|
+
|
21
22
|
# @return [Hash]
|
22
23
|
def to_hash
|
23
|
-
{}.tap
|
24
|
-
self.class.attributes {|attribute| value = send(attribute); hash[attribute] = value if value}
|
25
|
-
end
|
24
|
+
{}.tap{|h| self.class.attributes.each{|k| v = send(k) ; h[k] = v if v }}
|
26
25
|
end
|
27
26
|
|
28
27
|
protected
|
data/lib/pin_payment/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pin_payment
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Danial Pearce
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-02-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fakeweb
|