seatsio 28.1.0 → 28.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f16665209691ecc5c5be881c2c37580dc4525c3d1e2c067780830241aae5c77b
4
- data.tar.gz: 84ecfa02bb8129ee5bc78f71319201c9ca1650b74cb570666628aa2a57dd9287
3
+ metadata.gz: aa0f200b52412b29b9e10925637731f803d6dae6145699c5f569a14da079d644
4
+ data.tar.gz: ae6064a298eb37162405f0368e46182a1e5de890d2d7aef5ecb497ca497fd9da
5
5
  SHA512:
6
- metadata.gz: 8882b8209078d93b30db4f410c27f063a79eea273840e02a060b36b01c28eb6953007e46244abfc3f0f863e3ede87de1d15bd804bdbf121024bdad618b9ec341
7
- data.tar.gz: 13663be3aaf3e6189037d5678c86dc6575785dcb3150a09d197f4a6ab16bd82d20c4edf3822f4d3bcfb7d9cbe414b49a749eae08315b609abe022521d4a442b0
6
+ metadata.gz: 9ebc9a608826fb7d89f7c6c2dc1c98024ba3b20ca027f615d7381776bdc2f29579056ae895303763d6b8d4a48f613959267930a8844e7be037f6dc2f4ee34c95
7
+ data.tar.gz: ef11128346ddce38465a3e4147519c0c57c69dcba3b67d0acbc31d59329f3715b92f616299a64abb856ac4fc4ac389af52bada3a566ed541f8c9da3ece49aaa2
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- seatsio (28.1.0)
4
+ seatsio (28.2.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -15,26 +15,50 @@ module Seatsio
15
15
  fetch_summary_report('byStatus', event_key)
16
16
  end
17
17
 
18
+ def deep_summary_by_status(event_key)
19
+ fetch_deep_summary_report('byStatus', event_key)
20
+ end
21
+
18
22
  def summary_by_category_key(event_key)
19
23
  fetch_summary_report('byCategoryKey', event_key)
20
24
  end
21
25
 
26
+ def deep_summary_by_category_key(event_key)
27
+ fetch_deep_summary_report('byCategoryKey', event_key)
28
+ end
29
+
22
30
  def summary_by_category_label(event_key)
23
31
  fetch_summary_report('byCategoryLabel', event_key)
24
32
  end
25
33
 
34
+ def deep_summary_by_category_label(event_key)
35
+ fetch_deep_summary_report('byCategoryLabel', event_key)
36
+ end
37
+
26
38
  def summary_by_section(event_key)
27
39
  fetch_summary_report('bySection', event_key)
28
40
  end
29
41
 
42
+ def deep_summary_by_section(event_key)
43
+ fetch_deep_summary_report('bySection', event_key)
44
+ end
45
+
30
46
  def summary_by_selectability(event_key)
31
47
  fetch_summary_report('bySelectability', event_key)
32
48
  end
33
49
 
50
+ def deep_summary_by_selectability(event_key)
51
+ fetch_deep_summary_report('bySelectability', event_key)
52
+ end
53
+
34
54
  def summary_by_channel(event_key)
35
55
  fetch_summary_report('byChannel', event_key)
36
56
  end
37
57
 
58
+ def deep_summary_by_channel(event_key)
59
+ fetch_deep_summary_report('byChannel', event_key)
60
+ end
61
+
38
62
  def by_label(event_key, label = nil)
39
63
  fetch_report('byLabel', event_key, label)
40
64
  end
@@ -74,6 +98,11 @@ module Seatsio
74
98
  @http_client.get(url)
75
99
  end
76
100
 
101
+ def fetch_deep_summary_report(report_type, event_key)
102
+ url = "reports/events/#{event_key}/#{report_type}/summary/deep"
103
+ @http_client.get(url)
104
+ end
105
+
77
106
  def fetch_report(report_type, event_key, report_filter = nil)
78
107
  if report_filter
79
108
  url = "reports/events/#{event_key}/#{report_type}/#{report_filter}"
@@ -1,3 +1,3 @@
1
1
  module Seatsio
2
- VERSION = "28.1.0"
2
+ VERSION = "28.2.0"
3
3
  end
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: 28.1.0
4
+ version: 28.2.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: 2020-12-14 00:00:00.000000000 Z
11
+ date: 2020-12-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler