Sha256: 90a0a2ea48448b8d65d58f8d933d5902a564cedb1cc8f73146bd9371bed12f53

Contents?: true

Size: 424 Bytes

Versions: 16

Compression:

Stored size: 424 Bytes

Contents

require 'forwardable'
 
module Hoth
  module Transport
    class Base
      extend Forwardable
      
      attr_reader :encoder
      
      def_delegators :@service_delegate, :name, :module, :endpoint, :params, :return_nothing?
      
      def initialize(service_delegate, options = {})
        @service_delegate = service_delegate
        @encoder = options[:encoder] || Encoding::NoOp
      end
      
    end
  end
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
hoth-0.4.2 lib/hoth/transport/base.rb
hoth-0.4.1 lib/hoth/transport/base.rb
hoth-0.4.0 lib/hoth/transport/base.rb
hoth-0.3.4 lib/hoth/transport/base.rb
hoth-0.3.3 lib/hoth/transport/base.rb
hoth-0.3.2.beta4 lib/hoth/transport/base.rb
hoth-0.3.2.beta3 lib/hoth/transport/base.rb
hoth-0.3.2.beta2 lib/hoth/transport/base.rb
hoth-0.3.2.beta1 lib/hoth/transport/base.rb
hoth-0.3.1 lib/hoth/transport/base.rb
sk-hoth-0.3.5 lib/hoth/transport/base.rb
sk-hoth-0.3.4 lib/hoth/transport/base.rb
sk-hoth-0.3.2 lib/hoth/transport/base.rb
sk-hoth-0.3.1 lib/hoth/transport/base.rb
sk-hoth-0.3.0 lib/hoth/transport/base.rb
hoth-0.3.0 lib/hoth/transport/base.rb