Class: Calendav::Parsers::SyncXML
- Inherits:
-
Object
- Object
- Calendav::Parsers::SyncXML
- Defined in:
- lib/calendav/parsers/sync_xml.rb
Class Method Summary collapse
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(calendar_url, multi_response) ⇒ SyncXML
constructor
A new instance of SyncXML.
Constructor Details
#initialize(calendar_url, multi_response) ⇒ SyncXML
Returns a new instance of SyncXML.
14 15 16 17 |
# File 'lib/calendav/parsers/sync_xml.rb', line 14 def initialize(calendar_url, multi_response) @calendar_url = calendar_url @multi_response = multi_response end |
Class Method Details
.call ⇒ Object
10 11 12 |
# File 'lib/calendav/parsers/sync_xml.rb', line 10 def self.call(...) new(...).call end |
Instance Method Details
#call ⇒ Object
19 20 21 |
# File 'lib/calendav/parsers/sync_xml.rb', line 19 def call SyncCollection.new(events, deleted_urls, token, more?) end |