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