Method: Awspec::Type::SnsTopic#initialize

Defined in:
lib/awspec/type/sns_topic.rb

#initialize(topic_arn) ⇒ SnsTopic

Returns a new instance of SnsTopic.



5
6
7
8
9
10
# File 'lib/awspec/type/sns_topic.rb', line 5

def initialize(topic_arn)
  super
  @topic_arn = topic_arn
  # lazy instantiation
  @subscriptions = nil
end