ar_http_wrapper 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -54,9 +54,9 @@ class ActiveRecordHttpWrapper
|
|
54
54
|
|
55
55
|
def self._parsed(to_parse)
|
56
56
|
if to_parse.is_a?(Array)
|
57
|
-
to_parse.map{|_j| OpenStruct.new
|
57
|
+
to_parse.map{|_j| OpenStruct.new _j}
|
58
58
|
else
|
59
|
-
OpenStruct.new
|
59
|
+
OpenStruct.new to_parse
|
60
60
|
end
|
61
61
|
end
|
62
62
|
|