Method: Fog::Parsers::DNS::AWS::GetChange#end_element

Defined in:
lib/fog/aws/parsers/dns/get_change.rb

#end_element(name) ⇒ Object



12
13
14
15
16
17
18
19
# File 'lib/fog/aws/parsers/dns/get_change.rb', line 12

def end_element(name)
  case name
  when 'Id'
    @response[name] = value.sub('/change/', '')
  when 'Status', 'SubmittedAt'
    @response[name] = value
  end
end