Sha256: 6cb9649f9e271faf627a45fcd0ca6cc6d4d53e82673ea14412549fa4c3a0b03e
Contents?: true
Size: 658 Bytes
Versions: 4
Compression:
Stored size: 658 Bytes
Contents
# frozen_string_literal: true module ActionMailboxAmazonIngress module RSpec class SubscriptionConfirmation def initialize(authentic: true, topic: 'topic:arn:default') @authentic = authentic @topic = topic end def url '/rails/action_mailbox/amazon/inbound_emails' end def headers { 'content-type' => 'application/json' } end def params { 'Type' => 'SubscriptionConfirmation', 'TopicArn' => @topic, 'SubscribeURL' => 'http://example.com/subscribe' } end def authentic? @authentic end end end end
Version data entries
4 entries across 4 versions & 1 rubygems