Sha256: 627566bf062d4168b622617e8513a0d4f5ae44ba9479f744ed16880589c58a4b

Contents?: true

Size: 556 Bytes

Versions: 1

Compression:

Stored size: 556 Bytes

Contents

require "active_record"
require "sync_machine"
require "sync_machine/active_record/adapter"
require "sync_machine/version"
require "wisper/active_record"

# A mini-framework for intelligently publishing complex model changes to an
# external API.
module SyncMachine
  def self.orm_adapter
    SyncMachine::ActiveRecord::Adapter
  end

  # ActiveRecord-specific functionality for SyncMachine.
  module ActiveRecord
    def self.extended(base)
      SyncMachine.extended(base)
      base.extend SyncMachine
    end
  end
end

Wisper::ActiveRecord.extend_all

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sync_machine_active_record-0.6.0 lib/sync_machine/active_record.rb