lib/contentful/management/resource_requester.rb in contentful-management-1.4.0 vs lib/contentful/management/resource_requester.rb in contentful-management-1.5.0
- old
+ new
@@ -9,9 +9,10 @@
@client = client
@resource_class = resource_class
end
def all(endpoint_options = {}, query = {})
+ query = resource_class.pre_process_params(query)
get(endpoint_options, query)
end
def find(endpoint_options = {})
get(endpoint_options)