Method: Sns#send

Defined in:
lib/cryo/message/sns.rb

#send(opts = {}) ⇒ Object



12
13
14
15
16
17
18
# File 'lib/cryo/message/sns.rb', line 12

def send(opts={})
  @sns.publish({
                 :message => opts[:message],
                 :subject => opts[:subject],
                 :topic_arn => @topic
               })
end