Sha256: 6e31bf9bfc03954c944d85ef3560abfac5c8bc542d6a4352377273dd929390b2

Contents?: true

Size: 265 Bytes

Versions: 62

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

62 entries across 62 versions & 1 rubygems

Version Path
dispatch-rider-0.0.4 lib/dispatch-rider/registrars/sns_channel.rb
dispatch-rider-0.0.3 lib/dispatch-rider/registrars/sns_channel.rb