raise exceptions if not initialized properly

This commit is contained in:
2026-03-02 22:57:13 -05:00
parent 2e2b17fac3
commit 23e565a304

View File

@@ -13,6 +13,7 @@ class SyncServiceBase
# Subclasses should initialize with a QBO client instance
def initialize(qbo:)
raise "No QBO configuration found" unless qbo
@qbo = qbo
@entity = self.class.model_class
end