Sha256: 4c2319f0d9cfcb913ee3d9a731d4a64d083e65113bb99dd005b07f8fc4467ff0

Contents?: true

Size: 250 Bytes

Versions: 46

Compression:

Stored size: 250 Bytes

Contents

require 'ostruct'

module DispatchRider
  module Registrars
    class PublishingDestination < Base
      def value(name, options = {})
        ::OpenStruct.new(:service => options[:service], :channel => options[:channel])
      end
    end
  end
end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
dispatch-rider-2.1.0 lib/dispatch-rider/registrars/publishing_destination.rb
dispatch-rider-2.0.0 lib/dispatch-rider/registrars/publishing_destination.rb
dispatch-rider-1.9.0 lib/dispatch-rider/registrars/publishing_destination.rb
dispatch-rider-1.8.6 lib/dispatch-rider/registrars/publishing_destination.rb
dispatch-rider-1.8.5 lib/dispatch-rider/registrars/publishing_destination.rb
dispatch-rider-1.8.4 lib/dispatch-rider/registrars/publishing_destination.rb
dispatch-rider-1.8.3 lib/dispatch-rider/registrars/publishing_destination.rb
dispatch-rider-1.8.2 lib/dispatch-rider/registrars/publishing_destination.rb
dispatch-rider-1.8.1 lib/dispatch-rider/registrars/publishing_destination.rb
dispatch-rider-1.8.0 lib/dispatch-rider/registrars/publishing_destination.rb
dispatch-rider-1.7.2 lib/dispatch-rider/registrars/publishing_destination.rb
dispatch-rider-1.7.1 lib/dispatch-rider/registrars/publishing_destination.rb
dispatch-rider-1.7.0 lib/dispatch-rider/registrars/publishing_destination.rb
dispatch-rider-1.6.2 lib/dispatch-rider/registrars/publishing_destination.rb
dispatch-rider-1.6.1 lib/dispatch-rider/registrars/publishing_destination.rb
dispatch-rider-1.6.0 lib/dispatch-rider/registrars/publishing_destination.rb
dispatch-rider-1.5.3 lib/dispatch-rider/registrars/publishing_destination.rb
dispatch-rider-1.5.2 lib/dispatch-rider/registrars/publishing_destination.rb
dispatch-rider-1.5.1 lib/dispatch-rider/registrars/publishing_destination.rb
dispatch-rider-1.5.0 lib/dispatch-rider/registrars/publishing_destination.rb