Class: Fog::Parsers::AWS::ECS::StartTask

Inherits:
Task
  • Object
show all
Defined in:
lib/fog/aws/parsers/ecs/start_task.rb

Instance Method Summary collapse

Methods inherited from Task

#end_element, #start_element

Methods inherited from Base

#end_element, #start_element

Instance Method Details

#resetObject



8
9
10
11
12
13
14
15
16
17
18
19
# File 'lib/fog/aws/parsers/ecs/start_task.rb', line 8

def reset
  super
  @result = 'StartTaskResult'
  @response[@result] = {'failures' => [], 'tasks' => []}
  @contexts = %w(failures tasks containers overrides networkBindings containerOverrides)
  @context             = []
  @task                = {}
  @failure             = {}
  @container           = {}
  @net_binding         = {}
  @container_overrides = []
end