coins_paid_api 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/coins_paid_api.gemspec +1 -1
- data/lib/coins_paid/api/callback_data.rb +1 -0
- data/spec/callback_spec.rb +8 -8
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62cd90114215368e128d6e06d4047d859bfe83ae4d919904c33ce114864deffe
|
4
|
+
data.tar.gz: e3b9b821e9c0b082d58cb475b7806b4e4065df0d27f051f0a795af27718a6c7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73267b211f9944de80b673e8387a83320378b691a6af9b17803fad1aa8a15a87e59c9caea8732d4d1b23440165f57094c085b3ada36ea46fb01f1572c46eef21
|
7
|
+
data.tar.gz: 00abd832c2f0e895b88473aa0e4d422c232d52d74821bdeaea2e940c8bcc6fd05d3909ff2d3624185de044242c8c1546b6c8d64fe1d56c04e42c5c14381733f1
|
data/Gemfile
CHANGED
data/coins_paid_api.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'coins_paid_api'
|
3
3
|
s.authors = ['Artem Biserov(artembiserov)', 'Oleg Ivanov(morhekil)']
|
4
|
-
s.version = '1.0.
|
4
|
+
s.version = '1.0.3'
|
5
5
|
s.files = `git ls-files`.split("\n")
|
6
6
|
s.summary = 'Coins Paid Integration'
|
7
7
|
s.license = 'MIT'
|
data/spec/callback_spec.rb
CHANGED
@@ -39,8 +39,8 @@ describe CoinsPaid::API, '.callback' do
|
|
39
39
|
currency: 'BTC'
|
40
40
|
},
|
41
41
|
transactions: [
|
42
|
-
{ transaction_type: 'blockchain', id: 714576 },
|
43
|
-
{ transaction_type: 'exchange', id: 714577 }
|
42
|
+
{ transaction_type: 'blockchain', type: 'deposit', id: 714576 },
|
43
|
+
{ transaction_type: 'exchange', type: 'exchange', id: 714577 }
|
44
44
|
],
|
45
45
|
currency_sent: { amount: '0.01000000' },
|
46
46
|
currency_received: {
|
@@ -66,8 +66,8 @@ describe CoinsPaid::API, '.callback' do
|
|
66
66
|
currency: 'BTC'
|
67
67
|
},
|
68
68
|
transactions: [
|
69
|
-
{ transaction_type: 'blockchain', id: 714576 },
|
70
|
-
{ transaction_type: 'exchange', id: 714577 }
|
69
|
+
{ transaction_type: 'blockchain', type: 'deposit', id: 714576 },
|
70
|
+
{ transaction_type: 'exchange', type: 'exchange', id: 714577 }
|
71
71
|
]
|
72
72
|
}
|
73
73
|
end
|
@@ -88,8 +88,8 @@ describe CoinsPaid::API, '.callback' do
|
|
88
88
|
currency: 'EUR'
|
89
89
|
},
|
90
90
|
transactions: [
|
91
|
-
{ transaction_type: 'exchange', id: 1 },
|
92
|
-
{ transaction_type: 'blockchain', id: 1 }
|
91
|
+
{ transaction_type: 'exchange', type: 'exchange', id: 1 },
|
92
|
+
{ transaction_type: 'blockchain', type: 'withdrawal', id: 1 }
|
93
93
|
],
|
94
94
|
currency_sent: { amount: '381' },
|
95
95
|
currency_received: {
|
@@ -114,8 +114,8 @@ describe CoinsPaid::API, '.callback' do
|
|
114
114
|
currency: 'EUR'
|
115
115
|
},
|
116
116
|
transactions: [
|
117
|
-
{ transaction_type: 'exchange', id: 714576 },
|
118
|
-
{ transaction_type: 'blockchain', id: 714577 }
|
117
|
+
{ transaction_type: 'exchange', type: 'exchange', id: 714576 },
|
118
|
+
{ transaction_type: 'blockchain', type: 'withdrawal', id: 714577 }
|
119
119
|
]
|
120
120
|
}
|
121
121
|
end
|