Class: Calendav::Parsers::SyncXML

Inherits:
Object
  • Object
show all
Defined in:
lib/calendav/parsers/sync_xml.rb

Class Method Summary collapse

Instance Method Summary collapse

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

.callObject



10
11
12
# File 'lib/calendav/parsers/sync_xml.rb', line 10

def self.call(...)
  new(...).call
end

Instance Method Details

#callObject



19
20
21
# File 'lib/calendav/parsers/sync_xml.rb', line 19

def call
  SyncCollection.new(events, deleted_urls, token, more?)
end