lib/icloud/record.rb
# Internal: Serialize this record.
# Returns the serialized hash.
Serialize this record.
Returns the serialized hash.
Serialize this record . Returns the serialized hash .
def dump
      Hash.new.tap do |hsh|
        self.class.fields.each do |name, has_many_type|
          hsh[name] = send name
        end
      end
    end
def dump Hash . new . tap do | hsh | self . class . fields . each do | name , has_many_type | hsh [ name ] = send name end end end
Internal: Serialize this record.
Internal : Serialize this record .