gillbus 0.14.5 → 0.14.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gillbus/search_trips.rb +7 -0
- data/lib/gillbus/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10cfea77870129d9ef00afacb83340c832398d0d
|
4
|
+
data.tar.gz: b7ee92fc71ad0d916a73eedfa8e5025f6404afed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b19f6ce383299de3bf3b142b2eb5199473e447ccecc7f441b6e86b87644e9de8d4101dd193759dff3992c13f3f17bdcdebc4797ef8b119d5d219287ea99f7cd
|
7
|
+
data.tar.gz: d524af2600ea59cf2e248b869232e0f848a6e88ddb036b91d141014730ec3ab62ecdcbd6e6b501060644ece30425cfe7309540161e783f2336346aaa7448de85
|
data/lib/gillbus/search_trips.rb
CHANGED
@@ -82,6 +82,12 @@ class Gillbus
|
|
82
82
|
# По умолчанию отображаются все рейсы.
|
83
83
|
attr_accessor :only_branded
|
84
84
|
|
85
|
+
# tripOptions
|
86
|
+
# Признак отображения списка услугрейса.
|
87
|
+
# true - в результате будут возвращены услуги рейса.
|
88
|
+
# По умолчанию услуги не возвращаются.
|
89
|
+
attr_accessor :trip_options
|
90
|
+
|
85
91
|
def params
|
86
92
|
compact(
|
87
93
|
selectedModes: modes(selected_modes),
|
@@ -96,6 +102,7 @@ class Gillbus
|
|
96
102
|
ticketCount: ticket_count,
|
97
103
|
waitTimeout: wait_timeout,
|
98
104
|
onlyBranded: bool(only_branded),
|
105
|
+
tripOptions: bool(trip_options),
|
99
106
|
**passengers_data,
|
100
107
|
)
|
101
108
|
end
|
data/lib/gillbus/version.rb
CHANGED
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.14.
|
4
|
+
version: 0.14.6
|
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: 2017-05-
|
12
|
+
date: 2017-05-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: multi_xml
|
@@ -306,3 +306,4 @@ test_files:
|
|
306
306
|
- test/session_login_test.rb
|
307
307
|
- test/test_helper.rb
|
308
308
|
- test/tickets_booking_test.rb
|
309
|
+
has_rdoc:
|