lib/tickethub/channel/product.rb in tickethub-0.3.82 vs lib/tickethub/channel/product.rb in tickethub-0.3.84
- old
+ new
@@ -9,10 +9,11 @@
require_relative 'option'
require_relative 'tier'
require_relative 'variant'
require_relative 'question'
require_relative 'tax'
+ require_relative 'group'
require_relative '../contact'
require_relative '../address'
association :contact, Tickethub::Contact
@@ -23,9 +24,10 @@
collection :options, Channel::Option
collection :tiers, Channel::Tier
collection :variants, Channel::Variant
collection :questions, Channel::Question
collection :taxes, Channel::Tax
+ collection :groups, Channel::Group
attribute :time_zone, type: :timezone
attribute :currency, type: :currency
attribute :created_at, type: :datetime
\ No newline at end of file