Class: Awspec::Generator::Doc::Type::EcsTaskDefinition
- Defined in:
- lib/awspec/generator/doc/type/ecs_task_definition.rb
Instance Method Summary collapse
-
#initialize ⇒ EcsTaskDefinition
constructor
A new instance of EcsTaskDefinition.
Methods inherited from Base
#collect_matchers, #doc_template, #generate_doc, #sort_num, #type_name
Constructor Details
#initialize ⇒ EcsTaskDefinition
Returns a new instance of EcsTaskDefinition.
7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/awspec/generator/doc/type/ecs_task_definition.rb', line 7 def initialize super @type_name = 'ECS Task Definition' @type = Awspec::Type::EcsTaskDefinition.new('my-ecs-taskdef') @ret = @type.resource_via_client @matchers = [ Awspec::Type::EcsTaskDefinition::STATES.map { |state| "be_#{state.downcase}" }.join(', ') ] @ignore_matchers = Awspec::Type::EcsTaskDefinition::STATES.map { |state| "be_#{state.downcase}" } @describes = [] end |