Sha256: 5007f22ffa49e6b9da899d24a436931cab65a3298f78757837a534b0a2ecbf45

Contents?: true

Size: 282 Bytes

Versions: 1

Compression:

Stored size: 282 Bytes

Contents

# frozen_string_literal: true

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

1 entries across 1 versions & 1 rubygems

Version Path
dispatch-rider-2.2.0 lib/dispatch-rider/registrars/publishing_destination.rb