class Spektrix::Events::Instance

An event instance.

Public Instance Methods

event_object() click to toggle source
# File lib/models/events/instance.rb, line 42
def event_object
  Event.where(event_id: event[:id]).first
end
price_list_object() click to toggle source
# File lib/models/events/instance.rb, line 38
def price_list_object
  Tickets::PriceList.where(instance_id: self.id).first
end
status() click to toggle source
# File lib/models/events/instance.rb, line 34
def status
  InstanceStatus.where(instance_id: self.id).first
end