Sha256: fba3b924260f1607616e40669444367bb19abc599951b8d93570b8816c744beb

Contents?: true

Size: 1.13 KB

Versions: 26

Compression:

Stored size: 1.13 KB

Contents

=begin
  Copyright (C) 2005 Jeff Rose

  This library is free software; you can redistribute it and/or modify it
  under the same terms as the ruby language itself, see the file COPYING for
  details.
=end
module Icalendar
  # A Freebusy calendar component is a grouping of
  # component properties that represents either a request for, a reply to
  # a request for free or busy time information or a published set of
  # busy time information.
  class Freebusy < Component
    # Single properties
    ical_property :contact
    ical_property :dtstart, :start
    ical_property :dtend, :end
    ical_property :dtstamp, :timestamp
    ical_property :duration
    ical_property :organizer
    ical_property :uid, :user_id
    ical_property :url
    ical_property :summary

    # Multi-properties
    ical_multiline_property :attendee, :attendee, :attendees
    ical_multi_property :comment, :comment, :comments
    ical_multiline_property :freebusy, :freebusy, :freebusys
    ical_multi_property :rstatus, :request_status, :request_statuses

    def initialize()
      super("VFREEBUSY")

      timestamp DateTime.now
      uid new_uid
    end
  end
end

Version data entries

26 entries across 26 versions & 4 rubygems

Version Path
curzonj-icalendar-1.0.2.1 lib/icalendar/component/freebusy.rb
curzonj-icalendar-1.0.2 lib/icalendar/component/freebusy.rb
curzonj-icalendar-1.1.0.2 lib/icalendar/component/freebusy.rb
paulsm-icalendar-1.1.0.4 lib/icalendar/component/freebusy.rb
sdague-icalendar-1.1.0.2 lib/icalendar/component/freebusy.rb
sdague-icalendar-1.1.0.3 lib/icalendar/component/freebusy.rb
icalendar-1.5.0 lib/icalendar/component/freebusy.rb
icalendar-1.4.5 lib/icalendar/component/freebusy.rb
icalendar-1.4.4 lib/icalendar/component/freebusy.rb
icalendar-1.4.3 lib/icalendar/component/freebusy.rb
icalendar-1.4.2 lib/icalendar/component/freebusy.rb
icalendar-1.4.1 lib/icalendar/component/freebusy.rb
icalendar-1.4.0 lib/icalendar/component/freebusy.rb
icalendar-1.3.0 lib/icalendar/component/freebusy.rb
icalendar-1.2.4 lib/icalendar/component/freebusy.rb
icalendar-1.2.3 lib/icalendar/component/freebusy.rb
icalendar-1.2.2 lib/icalendar/component/freebusy.rb
icalendar-1.2.1 lib/icalendar/component/freebusy.rb
icalendar-1.2.0 lib/icalendar/component/freebusy.rb
icalendar-1.2 lib/icalendar/component/freebusy.rb