gillbus 0.20.9 → 0.21.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: 161f8a17f94402b8ca20cd20a4db0c512f6dc127d8335c2ac2af83e55a3d515a
4
- data.tar.gz: 572967b18f23751e5c0932e16943a838d4f0ef1630aae9f08a281d9a2b693f20
3
+ metadata.gz: 1145b11518e0a58839e07dc98671ee67c8f5b0a65d6e79f30f9ed58370c1deac
4
+ data.tar.gz: 8b17a93001e181811031fe07edc04d8dea970c0167dcedbc3add732ccb243b37
5
5
  SHA512:
6
- metadata.gz: bcba1738e7f4bb40644d0f9fe191367241910e7e69d3e330d6a831f24aa92c95b4e6c9993c34b0b43cd0f28b7abb2de679194d3bfba242e3773d5e6e163e7b3a
7
- data.tar.gz: b0a62ce474a083e012e28c8ded9c2ade5d941a9f7e1b34277801cc54047d38e63158b0e2a3815c8a2148c387fd75e452cfbfd0e9de19f62f4ca20715f26a233a
6
+ metadata.gz: 5a189d2d3db10e14cc0c31363d567d0f576d73a249eda0a3743e610756031c2198ae6c6be33847c1b53a78eb0dca13d31fe0194d5693001975c1f005c68a492f
7
+ data.tar.gz: 35253bc3806ca1fd8a5d97e3b3bbd5fa5de7ff965bfe12dfaa669efc541a2845d7024a029a26dd81a06a4ff5c711a545853988176ae2ea25cbe58abec640b4e5
@@ -1,13 +1,15 @@
1
1
  class Gillbus
2
2
  class Ticket
3
3
  STATUS_MAPPING = {
4
- '1' => :reserved, # ticket booked;
5
- '2' => :ticketed, # ticket sold;
6
- '3' => :ordered, # the booking, that waiting for the confirmation;
7
- '4' => :returned, # ticket returned;
8
- '5' => :canceled, # booking cancelled;
9
- '6' => :voided, # ticket cancelled;
10
- '8' => :booked, # the sale, that waiting for the confirmation
4
+ '0' => :voiding, # ticket in processing, interim status during refund;
5
+ '1' => :reserved, # ticket booked;
6
+ '2' => :ticketed, # ticket sold;
7
+ '3' => :ordered, # the booking, that waiting for the confirmation;
8
+ '4' => :returned, # ticket returned;
9
+ '5' => :canceled, # booking canceled;
10
+ '6' => :voided, # ticket canceled;
11
+ '8' => :booked, # the sale, that waiting for the confirmation;
12
+ 'e' => :ticketing_error, # resource failed to process this ticket;
11
13
  }.freeze
12
14
 
13
15
  extend Fields
@@ -32,8 +34,8 @@ class Gillbus
32
34
  # :ticketed 2 – ticket sold;
33
35
  # :ordered 3 – the booking, that waiting for the confirmation;
34
36
  # :returned 4 – ticket returned;
35
- # :canceled 5 – booking cancelled;
36
- # :voided 6 – ticket cancelled;
37
+ # :canceled 5 – booking canceled;
38
+ # :voided 6 – ticket canceled;
37
39
  # :booked 8 – the sale, that waiting for the confirmation
38
40
  field :ticket_status, :ticket_status
39
41
 
@@ -1,3 +1,3 @@
1
1
  class Gillbus
2
- VERSION = '0.20.9'.freeze
2
+ VERSION = '0.21.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.20.9
4
+ version: 0.21.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-18 00:00:00.000000000 Z
12
+ date: 2019-11-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport