class SakaiInfo::MissingCalendar
Public Class Methods
all_serializations()
click to toggle source
# File lib/sakai-info/calendar.rb, line 150 def self.all_serializations [ :default, ] end
find(id)
click to toggle source
# File lib/sakai-info/calendar.rb, line 126 def self.find(id) MissingCalendar.new({:id => id}) end
new(row)
click to toggle source
# File lib/sakai-info/calendar.rb, line 120 def initialize(row) @dbrow = row @id = @dbrow[:id] end
Public Instance Methods
default_serialization()
click to toggle source
# File lib/sakai-info/calendar.rb, line 138 def default_serialization { "status" => "No Calendar for #{self.id}", } end
event_count()
click to toggle source
# File lib/sakai-info/calendar.rb, line 130 def event_count 0 end
events()
click to toggle source
# File lib/sakai-info/calendar.rb, line 134 def events [] end
summary_serialization()
click to toggle source
# File lib/sakai-info/calendar.rb, line 144 def summary_serialization { "status" => "No Calendar", } end