gillbus 0.12.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7773b860602eecb6696a5cb66c9ff0e918943f76
4
- data.tar.gz: 2ae7d87c1f29a0f026cc7d791bcf778282d96cca
3
+ metadata.gz: 54e47ea904a8755c00a4576845ae6779abea4cc3
4
+ data.tar.gz: c6d830de157b234b145ae9b130c8152d712b5cee
5
5
  SHA512:
6
- metadata.gz: d0a10504220662bdedc0e607df427ed334e239c9fb1e117b2aeb842faaf5845f3401904cddccf718024be281be815ae8f3bc5e0b24e2e2cd3d2fed85b36ea54b
7
- data.tar.gz: fb86f6fa657e5631a005d7179656e3c05aa37f6a8a8889d492998006030ee7944e5b1f259774f6b5be4d3200bee1c024f05d674ddc3d0b13fbd3bce0279a538e
6
+ metadata.gz: 5a71b4974da670c7ff4a4ca2e63522c81a3835ec7b8eb4a58a0b823bd3b63db1c4cf9ac180776cedef74e6d791e8d3145fe9cd1a5a6013cbae1f90ab1acf61b6
7
+ data.tar.gz: 1719fa183ae15163244f3d35da7e10be74ba180ffcbddfb6e2d6cef3a71262489eb085077265c97a80eae08aff98666e025e7c5037d982c9b273dea6e2bb059d
@@ -68,6 +68,11 @@ class Gillbus
68
68
  # Параметр игнорируется, при fullSearch = true.
69
69
  attr_accessor :wait_timeout
70
70
 
71
+ # onlyBranded
72
+ # Признак отображения в результате поиска только фирменных рейсов.
73
+ # По умолчанию отображаются все рейсы.
74
+ attr_accessor :only_branded
75
+
71
76
  def params
72
77
  pax = (passengers || []).map.with_index { |p, i| PassengerDiscount.wrap(p).params("passenger#{i}") }.reduce({}, :merge)
73
78
  compact(
@@ -82,6 +87,7 @@ class Gillbus
82
87
  backStartDateSearch: date(back_start_date_search),
83
88
  ticketCount: ticket_count,
84
89
  waitTimeout: wait_timeout,
90
+ onlyBranded: bool(only_branded),
85
91
  **pax
86
92
  )
87
93
  end
@@ -1,3 +1,3 @@
1
1
  class Gillbus
2
- VERSION = "0.12.0"
2
+ VERSION = "0.13.0"
3
3
  end
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.12.0
4
+ version: 0.13.0
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: 2016-11-02 00:00:00.000000000 Z
12
+ date: 2016-11-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: multi_xml