Class/Module Index [+]

Quicksearch

Fog::Parsers::AWS::SimpleDB::GetAttributes

Public Instance Methods

end_element(name) click to toggle source
# File lib/fog/aws/parsers/simpledb/get_attributes.rb, line 15
def end_element(name)
  case name
  when 'Attribute'
    @attribute = nil
  when 'BoxUsage'
    response[name] = value.to_f
  when 'Name'
    @attribute = value
    response['Attributes'][@attribute] ||= []
  when 'RequestId'
    response[name] = value
  when 'Value'
    response['Attributes'][@attribute] << sdb_decode(value)
  end
end
reset() click to toggle source
# File lib/fog/aws/parsers/simpledb/get_attributes.rb, line 10
def reset
  @attribute = nil
  @response = { 'Attributes' => {} }
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.