lib/filepreviews/http.rb in filepreviews-2.0.2 vs lib/filepreviews/http.rb in filepreviews-2.0.3
- old
+ new
@@ -64,9 +64,10 @@
request = process_params(params)
request.store(:sizes, [extract_size(params.size)]) if params.size
request.store(:format, params.format) if params.format
request.store(:data, params.data) if params.data
request.store(:uploader, params.uploader) if params.uploader
+ request.store(:pages, params.pages) if params.pages
request
end
# Returns parsed response from API
# @return [Filepreviews::Response] json response as callable methods