class AWS::SimpleDB::ItemData
def initialize(opts = {})
- Private: -
def initialize(opts = {}) @name = opts[:name] @attributes = opts[:attributes] @domain = opts[:domain] if obj = opts[:response_object] @name ||= obj[:name] if obj[:attributes] @attributes ||= begin attributes = {} obj[:attributes].each do |attr| attributes[attr[:name]] ||= [] attributes[attr[:name]] << attr[:value] end attributes end end end end