module SyncClient::Publisher::ActiveRecordPublisher

Public Instance Methods

any_attributes_changed?(attributes) click to toggle source
# File lib/sync_client/publisher/active_record_publisher.rb, line 11
def any_attributes_changed?(attributes)
  attributes.any?{|attr| send("#{attr}_changed?")}
end
publisher_attributes() click to toggle source
# File lib/sync_client/publisher/active_record_publisher.rb, line 15
def publisher_attributes
  self.attributes
end