Class: Calendav::SyncCollection

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(changes, deletions, sync_token, more) ⇒ SyncCollection

Returns a new instance of SyncCollection.



7
8
9
10
11
12
# File 'lib/calendav/sync_collection.rb', line 7

def initialize(changes, deletions, sync_token, more)
  @changes = changes
  @deletions = deletions
  @sync_token = sync_token
  @more = more
end

Instance Attribute Details

#changesObject (readonly)

Returns the value of attribute changes.



5
6
7
# File 'lib/calendav/sync_collection.rb', line 5

def changes
  @changes
end

#deletionsObject (readonly)

Returns the value of attribute deletions.



5
6
7
# File 'lib/calendav/sync_collection.rb', line 5

def deletions
  @deletions
end

#moreObject (readonly)

Returns the value of attribute more.



5
6
7
# File 'lib/calendav/sync_collection.rb', line 5

def more
  @more
end

#sync_tokenObject (readonly)

Returns the value of attribute sync_token.



5
6
7
# File 'lib/calendav/sync_collection.rb', line 5

def sync_token
  @sync_token
end

Instance Method Details

#more?Boolean

Returns:

  • (Boolean)


14
15
16
# File 'lib/calendav/sync_collection.rb', line 14

def more?
  more
end