sdb_service 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sdb_service/service.rb +1 -1
- metadata +2 -2
data/lib/sdb_service/service.rb
CHANGED
@@ -84,7 +84,7 @@ module SdbService
|
|
84
84
|
response['results'] = Hash.new
|
85
85
|
query, token = self.query!(statement, limit, token)
|
86
86
|
query.each do |item|
|
87
|
-
response['results'][item[:name]] = item[:attributes]
|
87
|
+
response['results'][item[:name]] = _parse(item[:attributes]) { |attrs| serializer.new(attrs).deserialize! }
|
88
88
|
end
|
89
89
|
response['token'] = token unless token.nil?
|
90
90
|
return response
|