Class: DispatchRider::Registrars::SnsChannel

Inherits:
Base
  • Object
show all
Defined in:
lib/dispatch-rider/registrars/sns_channel.rb

Instance Attribute Summary

Attributes inherited from Base

#store

Instance Method Summary collapse

Methods inherited from Base

#fetch, #initialize, #register, #unregister

Constructor Details

This class inherits a constructor from DispatchRider::Registrars::Base

Instance Method Details

#value(name, options = {}) ⇒ Object



5
6
7
# File 'lib/dispatch-rider/registrars/sns_channel.rb', line 5

def value(name, options = {})
  "arn:aws:sns:#{options[:region]}:#{options[:account]}:#{options[:topic]}"
end