Class: Fog::Parsers::AWS::ECS::UpdateService

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

Instance Method Summary collapse

Methods inherited from Service

#start_element

Methods inherited from Base

#start_element

Instance Method Details

#end_element(name) ⇒ Object



20
21
22
23
24
25
26
# File 'lib/fog/aws/parsers/ecs/update_service.rb', line 20

def end_element(name)
  super
  case name
  when 'service'
    @response[@result]['service'] = @service
  end
end

#resetObject



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

def reset
  super
  @result = 'UpdateServiceResult'
  @response[@result] = {}
  @contexts = %w(service loadBalancers events deployments)
  @service       = {}
  @context       = []
  @deployment    = {}
  @load_balancer = {}
  @event         = {}
end