tickethub 0.3.84 → 0.3.85

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
  SHA1:
3
- metadata.gz: 1cb842ac1f38565fa798064547f3dcf49c935b2e
4
- data.tar.gz: fbfb8c5cfc7fc005e18ff79adf0711e200de0dc6
3
+ metadata.gz: 740d2425422f4bddd1b57c22c917f7d810bafa56
4
+ data.tar.gz: ad2d92ee05fd285297367a68175976dd9b36dfd3
5
5
  SHA512:
6
- metadata.gz: e7e28ea06030a4b508fa7d5903ccc7d662eeabf7ce1cf0680537749bc86cf9010ca5d5aa2e61a15e7a4f0424d3a7f1e6106665d765976a0b5836b268254b0711
7
- data.tar.gz: d31e4591ec15fa88286db318aa446fc9d638c1087b7d8523a6e9316d7dd0aa2c8659b0fd01af8f1db913149d1750988867c7ca56fbcf61320920ad4259716b7b
6
+ metadata.gz: 94d5e4a7250e940608fbc8ea859c147ce1a58480570e09904b461b9f16495c467b468949d621247dee39d6c52a90494d3b2bd941f098ea5a1f0bd65eb4245296
7
+ data.tar.gz: 4a4ee92fe5958d4c68ff1498c217ef2714f96da60d1d97c1a318458ee5a592e31e10200049b6d1812c2d1efd046ba54ed6c0f81bcb05bd0257dda773ab885ef5
@@ -11,7 +11,7 @@ module Tickethub
11
11
  require_relative 'variant'
12
12
  require_relative 'question'
13
13
  require_relative 'tax'
14
- require_relative 'group'
14
+ require_relative 'party'
15
15
 
16
16
  require_relative '../contact'
17
17
  require_relative '../address'
@@ -26,7 +26,6 @@ module Tickethub
26
26
  collection :variants, Channel::Variant
27
27
  collection :questions, Channel::Question
28
28
  collection :taxes, Channel::Tax
29
- collection :groups, Channel::Group
30
29
 
31
30
  attribute :time_zone, type: :timezone
32
31
  attribute :currency, type: :currency
@@ -17,7 +17,7 @@ module Tickethub
17
17
  require_relative 'ticket'
18
18
  require_relative 'discount'
19
19
  require_relative 'broadcast'
20
- require_relative 'group'
20
+ require_relative 'party'
21
21
 
22
22
  collection_method :broadcast do |params|
23
23
  Supplier::Broadcast.call self.endpoint, begin
@@ -41,7 +41,7 @@ module Tickethub
41
41
  association :coupon, Supplier::Coupon
42
42
  association :product, Supplier::Product
43
43
  association :variant, Supplier::Variant
44
- association :group, Supplier::Group
44
+ association :party, Supplier::Party
45
45
 
46
46
  attribute :amount, type: :money
47
47
  attribute :discount, type: :money
File without changes
@@ -27,6 +27,7 @@ module Tickethub
27
27
  require_relative 'channel'
28
28
  require_relative 'scan'
29
29
  require_relative 'import'
30
+ require_relative 'party'
30
31
 
31
32
  collection :bookings, Supplier::Booking
32
33
  collection :tickets, Supplier::Ticket
@@ -44,6 +45,7 @@ module Tickethub
44
45
  collection :scans, Supplier::Scan
45
46
  collection :channels, Supplier::Channel
46
47
  collection :imports, Supplier::Import
48
+ collection :parties, Supplier::Party
47
49
 
48
50
  collection :options, Supplier::Option do
49
51
  def dates(from, to, booking = {})
@@ -20,7 +20,7 @@ module Tickethub
20
20
  require_relative 'supplier/refund'
21
21
  require_relative 'supplier/user'
22
22
  require_relative 'supplier/question'
23
- require_relative 'supplier/group'
23
+ require_relative 'supplier/party'
24
24
  require_relative 'supplier/answer'
25
25
  require_relative 'supplier/tax'
26
26
  require_relative 'supplier/fee'
@@ -36,6 +36,7 @@ module Tickethub
36
36
  require_relative 'supplier/session'
37
37
  require_relative 'supplier/shift'
38
38
  require_relative 'supplier/location'
39
+ require_relative 'supplier/party'
39
40
 
40
41
  require_relative 'contact'
41
42
  require_relative 'address'
@@ -60,7 +61,7 @@ module Tickethub
60
61
  collection :refunds, Refund
61
62
  collection :users, User
62
63
  collection :questions, Question
63
- collection :groups, Group
64
+ collection :parties, Party
64
65
  collection :answers, Answer
65
66
  collection :taxes, Tax
66
67
  collection :fees, Fee
@@ -76,6 +77,7 @@ module Tickethub
76
77
  collection :sessions, Session
77
78
  collection :shifts, Shift
78
79
  collection :locations, Location
80
+ collection :parties, Party
79
81
 
80
82
  association :address, Tickethub::Address
81
83
  association :contact, Tickethub::Contact
@@ -1,3 +1,3 @@
1
1
  module Tickethub
2
- VERSION = '0.3.84'
2
+ VERSION = '0.3.85'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tickethub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.84
4
+ version: 0.3.85
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oliver Morgan
@@ -144,7 +144,6 @@ files:
144
144
  - lib/tickethub/supplier/dispute.rb
145
145
  - lib/tickethub/supplier/extra.rb
146
146
  - lib/tickethub/supplier/fee.rb
147
- - lib/tickethub/supplier/group.rb
148
147
  - lib/tickethub/supplier/import.rb
149
148
  - lib/tickethub/supplier/invoice.rb
150
149
  - lib/tickethub/supplier/location.rb
@@ -155,6 +154,7 @@ files:
155
154
  - lib/tickethub/supplier/order.rb
156
155
  - lib/tickethub/supplier/override.rb
157
156
  - lib/tickethub/supplier/partner.rb
157
+ - lib/tickethub/supplier/party.rb
158
158
  - lib/tickethub/supplier/payment.rb
159
159
  - lib/tickethub/supplier/payment/cash.rb
160
160
  - lib/tickethub/supplier/payment/credit.rb