summaryrefslogtreecommitdiff
path: root/components/providers/base.rb
diff options
context:
space:
mode:
Diffstat (limited to 'components/providers/base.rb')
-rw-r--r--components/providers/base.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/providers/base.rb b/components/providers/base.rb
index 011c5dd..7a99833 100644
--- a/components/providers/base.rb
+++ b/components/providers/base.rb
@@ -6,6 +6,10 @@ module NanoBot
module Components
module Providers
class Base
+ def initialize(_settings, _credentials, _environment: {})
+ raise NoMethodError, "The 'initialize' method is not implemented for the current provider."
+ end
+
def evaluate(_payload)
raise NoMethodError, "The 'evaluate' method is not implemented for the current provider."
end