Sha256: cf170cc206966e2959c47b530f3719b99cfb4f17b5e3043f7341e4365c2905a9

Contents?: true

Size: 455 Bytes

Versions: 5

Compression:

Stored size: 455 Bytes

Contents

# frozen_string_literal: true

module BotPlatform
  module Channels
    module Base
      class NeedImplementation < StandardError; end

      def channel_id
        raise NeedImplementation
      end

      def send_activity(activity)
        raise NeedImplementation
      end

      def as_command(activity)
        raise NeedImplementation
      end

      def match_request(headers,body)
        raise NeedImplementation
      end

    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bot_platform-0.3.0 lib/bot_platform/channels/base.rb
bot_platform-0.2.3 lib/bot_platform/channels/base.rb
bot_platform-0.2.2 lib/bot_platform/channels/base.rb
bot_platform-0.2.1 lib/bot_platform/channels/base.rb
bot_platform-0.2.0 lib/bot_platform/channels/base.rb