Sha256: a71c7e24b8952f76fd0dada16152b073bd5c7e847cc55bcb4de5d24417c8a5a7

Contents?: true

Size: 617 Bytes

Versions: 2

Compression:

Stored size: 617 Bytes

Contents

require "azure/core/service"

module Azure
  module ServiceBus
    class ServiceBusService < Core::Service
      def initialize(signer=Azure::ServiceBus::Auth::Wrap.new)
        super(signer, Azure::ServiceBus::Auth::Authorizer.new)
      end

      def call(method, uri, body=nil)
        super(method, uri, body) do |request|
          request.headers.delete("x-ms-date")
          request.headers.delete("x-ms-version")
          request.headers.delete("DataServiceVersion")
          request.headers.delete("MaxDataServiceVersion")

          yield request if block_given?
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure-0.1.1 lib/azure/service_bus/service_bus_service.rb
azure-0.1.0 lib/azure/service_bus/service_bus_service.rb