class ArSync::DataField
Public Instance Methods
action_convert(_action)
click to toggle source
# File lib/ar_sync/field.rb, line 31 def action_convert(_action) :update end
data(parent, _child, to_user:, **)
click to toggle source
# File lib/ar_sync/field.rb, line 23 def data(parent, _child, to_user:, **) ArSync.serialize parent, name, user: to_user end
path(_child)
click to toggle source
# File lib/ar_sync/field.rb, line 27 def path(_child) [] end
skip_propagation?(_parent, _child, path)
click to toggle source
# File lib/ar_sync/field.rb, line 35 def skip_propagation?(_parent, _child, path) !path.nil? end
type()
click to toggle source
# File lib/ar_sync/field.rb, line 19 def type :data end