TapKit::Snapshot

Class/Module:
Class
In:
lib/tapkit/access/snapshot.rb
Parent:
DelegateClass(Hash)

Description

There are 2 snapshots.

Methods

[]
[]=
each
new
update
update_from_object

Attributes

foreign_key [RW]
locking_attributes [RW]
primary_key [RW]
property_keys [RW]
time [RW]
values [RW]

Public Class Methods

new()

Public Instance Methods

[]( key )
[]=( key, value )
each() {|key, value| ...}
update( changes )
update_from_object( editing_context, object )
  • Set stored value for each attributes
  • Set a global ID or nil for each to-one relationships
  • Set an array of global IDs or a fault object for each to-many relationships