gillbus 0.18.10 → 0.18.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gillbus/structs/ticket.rb +2 -0
- data/lib/gillbus/version.rb +1 -1
- data/test/find_order_test.rb +4 -0
- data/test/responses/findOrder.xml +2 -0
- 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: 8da5c8db70d86e4d8c1cbd13f711523042530de1
|
4
|
+
data.tar.gz: 3ffc015cf541aee88af01cfb6bb0ffac56c59381
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b275a605ec7828c72f759ee990141f2c86b4ca98a85520d5091585de2c22ca97028401070dba7158aa0c08bafa638cbbe0fd67cd626a22931bfe572bc05aafeb
|
7
|
+
data.tar.gz: 8fe535b1b06237a17f0028ca27a6b2e205489c9edb0e1b9f043ccc1c9b6ce3f294f5490b7841b24702865c8c03ec42671f0617392fbe4ed2b25c7efa995a996d
|
data/lib/gillbus/version.rb
CHANGED
data/test/find_order_test.rb
CHANGED
@@ -36,4 +36,8 @@ class FindOrderTest < Minitest::Test
|
|
36
36
|
def test_comission_currency
|
37
37
|
assert_equal(Money.new(51_55, 'RUB'), find_order2.tickets.last.commissions.last.value)
|
38
38
|
end
|
39
|
+
|
40
|
+
def test_online_refund
|
41
|
+
assert_equal(true, find_order.tickets.first.is_online_refund)
|
42
|
+
end
|
39
43
|
end
|
@@ -113,6 +113,7 @@
|
|
113
113
|
<APPROXIMATE_AMOUNT>20.46</APPROXIMATE_AMOUNT>
|
114
114
|
<CAUSE>Принудительно. Отмена рейса</CAUSE>
|
115
115
|
</RETURN_CAUSE>
|
116
|
+
<IS_ONLINE_REFUND>true</IS_ONLINE_REFUND>
|
116
117
|
<COMMISSION>
|
117
118
|
<TYPE>2</TYPE>
|
118
119
|
<CODE>YS</CODE>
|
@@ -260,6 +261,7 @@
|
|
260
261
|
<APPROXIMATE_AMOUNT>20.46</APPROXIMATE_AMOUNT>
|
261
262
|
<CAUSE>Принудительно. Отмена рейса</CAUSE>
|
262
263
|
</RETURN_CAUSE>
|
264
|
+
<IS_ONLINE_REFUND>false</IS_ONLINE_REFUND>
|
263
265
|
<COMMISSION>
|
264
266
|
<TYPE>2</TYPE>
|
265
267
|
<CODE>YS</CODE>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gillbus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.18.
|
4
|
+
version: 0.18.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexey "codesnik" Trofimenko
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-08-
|
12
|
+
date: 2018-08-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|