lib/aws/simple_db/item.rb in aws-sdk-1.4.1 vs lib/aws/simple_db/item.rb in aws-sdk-1.5.0
- old
+ new
@@ -74,10 +74,10 @@
get_opts = {}
get_opts[:domain_name] = domain.name
get_opts[:item_name] = name
get_opts[:consistent_read] = consistent_read(options)
r = client.get_attributes(get_opts)
- ItemData.new(:name => name, :domain => domain, :response_object => r)
+ ItemData.new(:name => name, :domain => domain, :response_object => r.data)
end
def == other
other.is_a?(Item) and
other.domain == domain and