Class: Awspec::Generator::Doc::Type::SnsTopic
- Defined in:
- lib/awspec/generator/doc/type/sns_topic.rb
Instance Method Summary collapse
-
#initialize ⇒ SnsTopic
constructor
A new instance of SnsTopic.
Methods inherited from Base
#collect_matchers, #doc_template, #generate_doc, #sort_num, #type_name
Constructor Details
#initialize ⇒ SnsTopic
Returns a new instance of SnsTopic.
5 6 7 8 9 10 11 12 13 14 |
# File 'lib/awspec/generator/doc/type/sns_topic.rb', line 5 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 |