diff options
author | icebaker <113217272+icebaker@users.noreply.github.com> | 2023-06-04 11:54:39 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-04 11:54:39 -0300 |
commit | 60de4884e9ea8908a22978abe2a0c74865173132 (patch) | |
tree | 6154ff90cd8f92cdf3f4c4c246ae7161cc56196f /components/providers/base.rb | |
parent | 851397413a914e2caee3e05468495dac5076812f (diff) | |
parent | 1c497945d4bbfef5dd44a074800bec83057bcc0a (diff) |
Merge pull request #4 from icebaker/ib-end-user
New spec and end-user flow
Diffstat (limited to 'components/providers/base.rb')
-rw-r--r-- | components/providers/base.rb | 4 |
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 |