seatsio 34.0.0 → 35.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +4 -0
- data/lib/seatsio/domain.rb +2 -2
- data/lib/seatsio/event_reports.rb +6 -6
- data/lib/seatsio/events.rb +1 -1
- data/lib/seatsio/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: 874fcd1fd4238073124c6f5e5eb058dd38fc5a724d248b14eded7eef774f5c7f
|
4
|
+
data.tar.gz: 264386019f1f5a6260d54c6b0c94a42eb7ca4d5620717f9de2369e13e6fe0195
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63e8eefcf42622491e89bddc697773d6056629f89aa7d70ef6a6deeb08e6d3961fcaedc74d708fffed9ec5fc001bef1bb94e00a59e666a768878dc39536c9e64
|
7
|
+
data.tar.gz: 6feb7bbe4410abfbe5742ec81c4164093a9187ec1b13ae6be92650e89f4da5d17f485d150f1c8e969a8fea42c3266a993854434eeafb96d4a3553817411f096e
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -9,6 +9,10 @@ This is the official Ruby client library for the [Seats.io V2 REST API](https://
|
|
9
9
|
|
10
10
|
seatsio-ruby follows semver since v23.3.0.
|
11
11
|
|
12
|
+
## API reference
|
13
|
+
|
14
|
+
You can find a full API reference at https://www.rubydoc.info/gems/seatsio/
|
15
|
+
|
12
16
|
## Examples
|
13
17
|
|
14
18
|
### Creating a chart and an event
|
data/lib/seatsio/domain.rb
CHANGED
@@ -315,7 +315,7 @@ module Seatsio
|
|
315
315
|
:category_key, :entrance, :object_type, :hold_token, :category_label,
|
316
316
|
:ticket_type, :num_booked, :num_free, :num_held, :for_sale, :section,
|
317
317
|
:is_accessible, :is_companion_seat, :has_restricted_view, :displayed_object_type,
|
318
|
-
:left_neighbour, :right_neighbour, :
|
318
|
+
:left_neighbour, :right_neighbour, :is_available, :is_disabled_by_social_distancing, :channel,
|
319
319
|
:book_as_a_whole, :distance_to_focal_point, :holds
|
320
320
|
|
321
321
|
def initialize(data)
|
@@ -343,7 +343,7 @@ module Seatsio
|
|
343
343
|
@displayed_object_type = data['displayedObjectType']
|
344
344
|
@left_neighbour = data['leftNeighbour']
|
345
345
|
@right_neighbour = data['rightNeighbour']
|
346
|
-
@
|
346
|
+
@is_available = data['isAvailable']
|
347
347
|
@is_disabled_by_social_distancing = data['isDisabledBySocialDistancing']
|
348
348
|
@channel = data['channel']
|
349
349
|
@book_as_a_whole = data['bookAsAWhole']
|
@@ -71,16 +71,16 @@ module Seatsio
|
|
71
71
|
fetch_deep_summary_report('bySection', event_key)
|
72
72
|
end
|
73
73
|
|
74
|
-
def
|
75
|
-
fetch_report('
|
74
|
+
def by_availability(event_key, availability = nil)
|
75
|
+
fetch_report('byAvailability', event_key, availability)
|
76
76
|
end
|
77
77
|
|
78
|
-
def
|
79
|
-
fetch_summary_report('
|
78
|
+
def summary_by_availability(event_key)
|
79
|
+
fetch_summary_report('byAvailability', event_key)
|
80
80
|
end
|
81
81
|
|
82
|
-
def
|
83
|
-
fetch_deep_summary_report('
|
82
|
+
def deep_summary_by_availability(event_key)
|
83
|
+
fetch_deep_summary_report('byAvailability', event_key)
|
84
84
|
end
|
85
85
|
|
86
86
|
def by_channel(event_key, channelKey = nil)
|
data/lib/seatsio/events.rb
CHANGED
@@ -67,7 +67,7 @@ module Seatsio
|
|
67
67
|
request[:params] = {
|
68
68
|
:expand => 'objects'
|
69
69
|
}
|
70
|
-
response = @http_client.post("
|
70
|
+
response = @http_client.post("events/groups/actions/change-object-status", request)
|
71
71
|
ChangeObjectStatusResult.new(response)
|
72
72
|
end
|
73
73
|
|
data/lib/seatsio/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: seatsio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 35.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Seats.io
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|