module BookingsyncPortal

Constants

VERSION

Public Class Methods

fetch_remote_rentals(account) click to toggle source

fetch remote rentals

# File lib/bookingsync_portal.rb, line 64
def self.fetch_remote_rentals(account)
  # return false if remote account is not present or not valid
end
setup() { |self| ... } click to toggle source

Default way to setup BookingsyncPortal. Run rails generate bookingsync_portal:install to create a fresh initializer with all configuration values.

# File lib/bookingsync_portal.rb, line 70
def self.setup
  yield self
  raise ArgumentError.new("message_bus_channel_scope must be defined") unless message_bus_channel_scope.present?
  ::MessageBus.site_id_lookup do
    message_bus_channel_scope
  end
end