Class: EmailEvents::Adapters::Ses::SnsEndpointTopicListMatcher
- Inherits:
-
Array
- Object
- Array
- EmailEvents::Adapters::Ses::SnsEndpointTopicListMatcher
- Defined in:
- lib/email_events/adapters/ses/initializer.rb
Instance Method Summary collapse
-
#include?(arn) ⇒ Boolean
match any topic ending in the topic name (as opposed to the long ARN topic ID).
Instance Method Details
#include?(arn) ⇒ Boolean
match any topic ending in the topic name (as opposed to the long ARN topic ID)
27 28 29 |
# File 'lib/email_events/adapters/ses/initializer.rb', line 27 def include?(arn) self.any? {|topic| arn.end_with? topic} end |