Class: Awspec::Generator::Doc::Type::CloudfrontDistribution

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

Instance Method Summary collapse

Methods inherited from Base

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

Constructor Details

#initializeCloudfrontDistribution

Returns a new instance of CloudfrontDistribution.



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

def initialize
  super
  @type_name = 'CloudfrontDistribution'
  @type = Awspec::Type::CloudfrontDistribution.new('123456789zyxw.cloudfront.net')
  @ret = @type.resource_via_client
  @matchers = [
    Awspec::Type::CloudfrontDistribution::STATUSES.map { |status| 'be_' + status.underscore }.join(', ')
  ]

  @ignore_matchers = Awspec::Type::CloudfrontDistribution::STATUSES.map { |status| 'be_' + status.underscore }
  @describes = []
end