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