Module: BookingSyncEngine

Defined in:
lib/bookingsync-engine.rb

Class Method Summary collapse

Class Method Details

.account_modelObject


28
29
30
# File 'lib/bookingsync-engine.rb', line 28

def self.
  support_multi_applications? ? multi_app_model.call : single_app_model.call
end

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:


20
21
22
# File 'lib/bookingsync-engine.rb', line 20

def self.setup
  yield self
end

.support_multi_applications?Boolean

Returns:

  • (Boolean)

24
25
26
# File 'lib/bookingsync-engine.rb', line 24

def self.support_multi_applications?
  support_multi_applications
end