Sha256: a007c8c2a43a90eaa40813caa7b2c2738f26452845961f62a4242e07e1dbfb12
Contents?: true
Size: 609 Bytes
Versions: 1
Compression:
Stored size: 609 Bytes
Contents
require 'rackspace-fog/aws/parsers/simpledb/basic' module Fog module Parsers module AWS module SimpleDB class ListDomains < Fog::Parsers::AWS::SimpleDB::Basic def reset @response = { 'Domains' => [] } end 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 end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rackspace-fog-1.4.2 | lib/rackspace-fog/aws/parsers/simpledb/list_domains.rb |