Sha256: bab3c1f6a23a3f1d8dc65bc7f42f561a55ceab5ce2f4ffb5c930bc2db4a89674

Contents?: true

Size: 490 Bytes

Versions: 35

Compression:

Stored size: 490 Bytes

Contents

# coding: utf-8
# frozen_string_literal: true

require 'stealth/services/base_reply_handler'
require 'stealth/services/base_message_handler'

require 'stealth/services/jobs/handle_message_job'

module Stealth
  module Services
    class BaseClient

      attr_reader :reply

      def initialize(reply:)
        @reply = reply
      end

      def transmit
        raise(Stealth::Errors::ServiceImpaired, "Service implementation does not implement 'transmit'")
      end

    end
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
stealth-2.0.0.beta7 lib/stealth/services/base_client.rb
stealth-2.0.0.beta6 lib/stealth/services/base_client.rb
stealth-2.0.0.beta5 lib/stealth/services/base_client.rb
stealth-2.0.0.beta4 lib/stealth/services/base_client.rb
stealth-2.0.0.beta3 lib/stealth/services/base_client.rb
stealth-2.0.0.beta2 lib/stealth/services/base_client.rb
stealth-2.0.0.beta1 lib/stealth/services/base_client.rb
stealth-1.1.6 lib/stealth/services/base_client.rb
stealth-1.1.5 lib/stealth/services/base_client.rb
stealth-1.1.4 lib/stealth/services/base_client.rb
stealth-1.1.3 lib/stealth/services/base_client.rb
stealth-1.1.2 lib/stealth/services/base_client.rb
stealth-1.1.1 lib/stealth/services/base_client.rb
stealth-1.1.0 lib/stealth/services/base_client.rb
stealth-1.1.0.rc3 lib/stealth/services/base_client.rb
stealth-1.1.0.rc2 lib/stealth/services/base_client.rb
stealth-1.1.0.rc1 lib/stealth/services/base_client.rb
stealth-1.0.4 lib/stealth/services/base_client.rb
stealth-1.0.3 lib/stealth/services/base_client.rb
stealth-1.0.2 lib/stealth/services/base_client.rb