Method: Fog::Parsers::AWS::SimpleDB::ListDomains#end_element

Defined in:
lib/fog/aws/parsers/simpledb/list_domains.rb

#end_element(name) ⇒ Object



14
15
16
17
18
19
20
21
22
23
# File 'lib/fog/aws/parsers/simpledb/list_domains.rb', line 14

def end_element(name)
  case(name)
  when 'BoxUsage'
    response[name] = value.to_f
  when 'DomainName'
    response['Domains'] << value
  when 'NextToken', 'RequestId'
    response[name] = value
  end
end