Class: GCal::QueryParams
- Inherits:
-
GData::QueryParams
- Object
- GData::QueryParams
- GCal::QueryParams
- Defined in:
- lib/gdata/calendar.rb
Instance Method Summary collapse
-
#initialize ⇒ QueryParams
constructor
A new instance of QueryParams.
- #validate! ⇒ Object
Constructor Details
#initialize ⇒ QueryParams
Returns a new instance of QueryParams.
51 52 53 54 55 |
# File 'lib/gdata/calendar.rb', line 51 def initialize self[:singleevents] = true self[:sortorder] = "ascending" self[:orderby] = "starttime" end |
Instance Method Details
#validate! ⇒ Object
57 58 59 60 61 |
# File 'lib/gdata/calendar.rb', line 57 def validate! self[:recurrance_expansion_start] = self[:start_min] if self[:start_min] self[:recurrance_expansion_end] = self[:start_max] if self[:start_max] super end |