lib/soapy_cake/client.rb in soapy_cake-1.10.2 vs lib/soapy_cake/client.rb in soapy_cake-1.11.0
- old
+ new
@@ -18,10 +18,10 @@
request.api_key = api_key
request.time_offset = time_offset
response = Response.new(http_response(request), request.short_response?)
response.time_offset = time_offset
- response.collection
+ response.to_enum
end
private
def http_response(request)