Sha256: ff7a37f2ebbdb11860c35163f200a7a4c664ffb2b1c56db7284b03b7080dcf96

Contents?: true

Size: 233 Bytes

Versions: 23

Compression:

Stored size: 233 Bytes

Contents

module SmartyStreets
  class CustomHeaderSender
    def initialize(inner, header)
      @inner = inner
      @header = header
    end

    def send(request)
      request.header = @header
      @inner.send(request)
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
smartystreets_ruby_sdk-5.14.18 lib/smartystreets_ruby_sdk/custom_header_sender.rb
smartystreets_ruby_sdk-5.14.17 lib/smartystreets_ruby_sdk/custom_header_sender.rb
smartystreets_ruby_sdk-5.14.14 lib/smartystreets_ruby_sdk/custom_header_sender.rb