class Fog::Parsers::AWS::ECS::RegisterTaskDefinition

Public Instance Methods

reset() click to toggle source
Calls superclass method Fog::Parsers::AWS::ECS::Base#reset
# File lib/fog/aws/parsers/ecs/register_task_definition.rb, line 8
def reset
  super
  @result = 'RegisterTaskDefinitionResult'
  @definition = 'taskDefinition'
  @response[@result] = {
    @definition => {
      'volumes'              => [],
      'containerDefinitions' => []
    }
  }
  @contexts = %w(volumes containerDefinitions command entryPoint environment links mountPoints portMappings volumesFrom)
  @context     = []
  @volume      = {}
  @host        = {}
  @container   = {}
  @environment = {}
  @mountpoint  = {}
  @portmapping = {}
  @volume_from = {}
end