Class: ICalPal::Calendar

Inherits:
Object
  • Object
show all
Includes:
ICalPal
Defined in:
lib/calendar.rb

Overview

Class representing items from the Calendar table

Constant Summary collapse

QUERY =
<<~SQL
SELECT DISTINCT

Store.name AS account,
Calendar.title AS calendar,
*

FROM #{self.name.split('::').last}

JOIN Store ON store_id = Store.rowid

WHERE Store.disabled IS NOT 1
AND Store.display_order IS NOT -1
AND (Calendar.display_order IS NOT -1 OR external_rep IS NOT NULL)
AND Calendar.flags IS NOT 519
SQL

Constants included from ICalPal

DOW, ITIME, NAME, VERSION

Instance Attribute Summary

Attributes included from ICalPal

#self

Method Summary

Methods included from ICalPal

#[], #[]=, call, #initialize, #keys, load_data, nth, #to_csv, #to_xml, #values, #xmlify