Sha256: fa26774642dc9b737426c35a9208b138e5affb31738ec7970b99043237ce1fff

Contents?: true

Size: 338 Bytes

Versions: 2

Compression:

Stored size: 338 Bytes

Contents

# temporarily change default to make sure initializer override works great
BookingSyncEngine.module_eval do
  self.bookingsync_id_key = :customized_key
end

# and now override to fix breaking specs
BookingSyncEngine.setup do |setup|
  setup.multi_app_model = -> { ::MultiApplicationsAccount }

  setup.bookingsync_id_key = :synced_id
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bookingsync-engine-6.0.1 spec/dummy/config/initializers/bookingsync-engine.rb
bookingsync-engine-6.0.0 spec/dummy/config/initializers/bookingsync-engine.rb