Module: ActiveSync::Model

Extended by:
ActiveSupport::Concern
Defined in:
app/models/active_sync/model.rb

Instance Method Summary collapse

Instance Method Details

#sync_changeObject



10
11
12
13
14
# File 'app/models/active_sync/model.rb', line 10

def sync_change
  if sync_model?
    BroadcastChangeJob.perform_later(self)
  end
end

#sync_model?Boolean

Returns:

  • (Boolean)


16
17
18
# File 'app/models/active_sync/model.rb', line 16

def sync_model?
  true
end