Class: Awspec::Generator::Doc::Type::SnsTopic

Inherits:
Base
  • Object
show all
Defined in:
lib/awspec/generator/doc/type/sns_topic.rb

Instance Method Summary collapse

Methods inherited from Base

#collect_matchers, #doc_template, #generate_doc, #sort_num, #type_name

Constructor Details

#initializeSnsTopic

Returns a new instance of SnsTopic.



7
8
9
10
11
12
13
14
15
16
# File 'lib/awspec/generator/doc/type/sns_topic.rb', line 7

def initialize
  super
  @type_name = 'SnsTopic'
  @type = Awspec::Type::SnsTopic.new('my-sns')
  @ret = @type.resource_via_client
  @matchers = %w[include_subscribed have_subscription_attributes]
  @ignore_matchers = ['have_subscription_filter']
  @describes = %w[policy owner pending_subscriptions topic_arn effective_delivery_policy display_name
                  confirmed_subscriptions deleted_subscriptions name]
end