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 +4 -4
- data/lib/gillbus/tickets_booking.rb +12 -0
- data/lib/gillbus/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9829a4cd9d8c4cbaa850fde5f1480348f8e49a1008c943fa59b4e780b2a9eed6
|
4
|
+
data.tar.gz: f394c0f54b77c887c9ec079f8002c596dcdde952d43ece10aaed07637b4919f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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.
|
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:
|
12
|
+
date: 2020-03-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|