Sha256: 24fc059a209d2a5394b33fea004526618f85a4ee3848a14df2de4450c35e9903

Contents?: true

Size: 265 Bytes

Versions: 2

Compression:

Stored size: 265 Bytes

Contents

# This is the registrar for the Aws SNS channels.
module DispatchRider
  module Registrars
    class SnsChannel < Base
      def value(name, options = {})
        "arn:aws:sns:#{options[:region]}:#{options[:account]}:#{options[:topic]}"
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dispatch-rider-2.1.0 lib/dispatch-rider/registrars/sns_channel.rb
dispatch-rider-2.0.0 lib/dispatch-rider/registrars/sns_channel.rb