Class: EventOccurrence

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/event_occurrence.rb

Instance Method Summary collapse

Instance Method Details

#statusObject



70
71
72
# File 'app/models/event_occurrence.rb', line 70

def status
  Status.find(self.status_id)
end

#status=(value) ⇒ Object



74
75
76
# File 'app/models/event_occurrence.rb', line 74

def status=(value)
  self.status_id = value.id
end