Class: Aws::Rails::ActionMailbox::RSpec::SubscriptionConfirmation Private
- Inherits:
-
Object
- Object
- Aws::Rails::ActionMailbox::RSpec::SubscriptionConfirmation
- Defined in:
- lib/aws/rails/action_mailbox/rspec/subscription_confirmation.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #authentic? ⇒ Boolean private
- #headers ⇒ Object private
-
#initialize(authentic: true, topic: 'topic:arn:default') ⇒ SubscriptionConfirmation
constructor
private
A new instance of SubscriptionConfirmation.
- #params ⇒ Object private
- #url ⇒ Object private
Constructor Details
#initialize(authentic: true, topic: 'topic:arn:default') ⇒ SubscriptionConfirmation
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of SubscriptionConfirmation.
9 10 11 12 |
# File 'lib/aws/rails/action_mailbox/rspec/subscription_confirmation.rb', line 9 def initialize(authentic: true, topic: 'topic:arn:default') @authentic = authentic @topic = topic end |
Instance Method Details
#authentic? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
30 31 32 |
# File 'lib/aws/rails/action_mailbox/rspec/subscription_confirmation.rb', line 30 def authentic? @authentic end |
#headers ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
18 19 20 |
# File 'lib/aws/rails/action_mailbox/rspec/subscription_confirmation.rb', line 18 def headers { 'content-type' => 'application/json' } end |
#params ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
22 23 24 25 26 27 28 |
# File 'lib/aws/rails/action_mailbox/rspec/subscription_confirmation.rb', line 22 def params { 'Type' => 'SubscriptionConfirmation', 'TopicArn' => @topic, 'SubscribeURL' => 'http://example.com/subscribe' } end |
#url ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
14 15 16 |
# File 'lib/aws/rails/action_mailbox/rspec/subscription_confirmation.rb', line 14 def url '/rails/action_mailbox/ses/inbound_emails' end |