gillbus 0.21.0 → 0.22.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
  SHA256:
3
- metadata.gz: 1145b11518e0a58839e07dc98671ee67c8f5b0a65d6e79f30f9ed58370c1deac
4
- data.tar.gz: 8b17a93001e181811031fe07edc04d8dea970c0167dcedbc3add732ccb243b37
3
+ metadata.gz: 9829a4cd9d8c4cbaa850fde5f1480348f8e49a1008c943fa59b4e780b2a9eed6
4
+ data.tar.gz: f394c0f54b77c887c9ec079f8002c596dcdde952d43ece10aaed07637b4919f5
5
5
  SHA512:
6
- metadata.gz: 5a189d2d3db10e14cc0c31363d567d0f576d73a249eda0a3743e610756031c2198ae6c6be33847c1b53a78eb0dca13d31fe0194d5693001975c1f005c68a492f
7
- data.tar.gz: 35253bc3806ca1fd8a5d97e3b3bbd5fa5de7ff965bfe12dfaa669efc541a2845d7024a029a26dd81a06a4ff5c711a545853988176ae2ea25cbe58abec640b4e5
6
+ metadata.gz: 59cb51519b2c5b16dc116da7feeca38087fe6a6528b7b1f3320db8fca43b69276e569e2cf46329d9ed600cb453c4a3e1e8397748ffb5a4b647f641508dff7413
7
+ data.tar.gz: '05089d4de32bf5a5043be5c3ecfa1949572c1499f3b3d399dc875f7c4ffc9d908391180c07152dd926c7c697f37cb643832007e903b07843a03a99b3531d80e6'
@@ -64,6 +64,15 @@ class Gillbus
64
64
  # отправлять ли email с листом бронирования пользователю
65
65
  attr_accessor :send_to
66
66
 
67
+ # идентификатор пользователя в системе BBC
68
+ attr_accessor :user_uuid
69
+
70
+ # ref заказа
71
+ attr_accessor :external_id
72
+
73
+ # ссылка на короткий ЛК
74
+ attr_accessor :return_link
75
+
67
76
  def params
68
77
  pax = (passengers || []).map.with_index { |p, i| Passenger.new(p).params("passenger#{i}") }.reduce({}, :merge)
69
78
  compact(
@@ -76,6 +85,9 @@ class Gillbus
76
85
  note: note,
77
86
  ticketLocale: translated_locale(ticket_locale),
78
87
  sendTo: send_to,
88
+ userUUID: user_uuid,
89
+ externalID: external_id,
90
+ returnLink: return_link,
79
91
  **pax,
80
92
  )
81
93
  end
@@ -1,3 +1,3 @@
1
1
  class Gillbus
2
- VERSION = '0.21.0'.freeze
2
+ VERSION = '0.22.0'.freeze
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.21.0
4
+ version: 0.22.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: 2019-11-21 00:00:00.000000000 Z
12
+ date: 2020-03-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport