Class: Helene::Sdb::Interface::QSdbListDomainParser

Inherits:
RightAWSParser
  • Object
show all
Defined in:
lib/helene/sdb/interface.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#resetObject



341
342
343
# File 'lib/helene/sdb/interface.rb', line 341

def reset
  @result = { :domains => [] }
end

#tagend(name) ⇒ Object



344
345
346
347
348
349
350
351
# File 'lib/helene/sdb/interface.rb', line 344

def tagend(name)
  case name
  when 'NextToken'  then @result[:next_token] =  @text
  when 'DomainName' then @result[:domains]    << @text
  when 'BoxUsage'   then @result[:box_usage]  =  @text
  when 'RequestId'  then @result[:request_id] =  @text
  end
end