Sha256: be56ef1ec71ad47c924cddf1ed9a963e78ac0ada440e567d2d34793814b466a2
Contents?: true
Size: 386 Bytes
Versions: 5
Compression:
Stored size: 386 Bytes
Contents
module SynchronisedMigration class << self attr_accessor :redis_config end def self.configure self.redis_config ||= Configuration.new yield(redis_config) end class Configuration attr_accessor :host, :port, :db def initialize @host = '' @port = 0 @db = 0 end end end require 'synchronised_migration/railtie' if defined?(Rails)
Version data entries
5 entries across 5 versions & 1 rubygems