lib/icloud/session.rb
def client_state
      {
        "Collections" => collections.map do |c|
          {
            "guid" => c.guid,
            "ctag" => c.ctag,
          }
        end
      }
    end
#
# Returns the current client state, i.e. the `guid` and `ctag` (entity tag)
# of each collection we know about. The server uses this to decide which
# records to send back.
#
# It looks like multiple record types could be specified here, but haven't
# seen that.
#
Returns the current client state, i.e. the `guid` and `ctag` (entity tag)
of each collection we know about. The server uses this to decide which
records to send back.

It looks like multiple record types could be specified here, but haven't
seen that.
Returns the current client state i . e . the ` guid ` and ` ctag ` ( entity tag ) of each collection we know about . The server uses this to decide which records to send back . It looks like multiple record types could be specified here but haven ' t seen that .
def client_state
      {
        "Collections" => collections.map do |c|
          {
            "guid" => c.guid,
            "ctag" => c.ctag,
          }
        end
      }
    end
def client_state { "Collections" => collections . map do | c | { "guid" => c . guid , "ctag" => c . ctag , } end } end
Returns the current client state, i.e.
Returns the current client state i . e .