module SyncClient::Publisher::BasePublisher

Public Instance Methods

publish_create(options = {}) click to toggle source
# File lib/sync_client/publisher/base_publisher.rb, line 25
def publish_create(options = {})
  queue_publisher.publish(:create, self, options)
end
publish_destroy(options = {}) click to toggle source
# File lib/sync_client/publisher/base_publisher.rb, line 33
def publish_destroy(options = {})
  queue_publisher.publish(:destroy, self, options)
end
publish_update(options = {}) click to toggle source
# File lib/sync_client/publisher/base_publisher.rb, line 29
def publish_update(options = {})
  queue_publisher.publish(:update, self, options)
end
queue_publisher() click to toggle source
# File lib/sync_client/publisher/base_publisher.rb, line 21
def queue_publisher
  self.class.queue_publisher
end