Class: CalInvite::Providers::Office365
- Inherits:
-
BaseProvider
- Object
- BaseProvider
- CalInvite::Providers::Office365
- Defined in:
- lib/cal_invite/providers/office365.rb
Overview
Microsoft Office 365 provider for generating calendar event URLs. This provider generates URLs that open the Office 365 web calendar with a pre-filled event creation form. Supports both all-day and time-specific events with proper timezone handling.
Instance Attribute Summary
Attributes inherited from BaseProvider
Instance Method Summary collapse
-
#generate ⇒ String
Generates an Office 365 calendar URL for the event.
Methods inherited from BaseProvider
Constructor Details
This class inherits a constructor from BaseProvider
Instance Method Details
#generate ⇒ String
Generates an Office 365 calendar URL for the event. Automatically handles both all-day and time-specific events.
37 38 39 40 41 42 43 |
# File 'lib/cal_invite/providers/office365.rb', line 37 def generate if event.all_day generate_all_day_event else generate_single_event end end |