README.md in zooppa_api_v3-0.0.7 vs README.md in zooppa_api_v3-0.0.8
- old
+ new
@@ -82,16 +82,24 @@
Get 100 contests with offset 100
###Filtering
-`ZOOPPA_API.ads.where('contest_id,=,1').execute('token')`
+`ZOOPPA_API.ads.where('contest_id is 1').execute('token')`
Get ads which contest_id attributes equals 1
-`ZOOPPA_API.ads.where('contest_id,=,1', 'resource_type,=,video').execute('token')`
+`ZOOPPA_API.awards.where('custom:method_without_params').execute(token)`
-Get ads which contest_id attributes equals 1 and resource_type equals 'video'
+Call a custom method called `method_without_params`
+
+`ZOOPPA_API.awards.where('custom:method_with_one_param:param1').execute(token)`
+
+Call a the custom method `method_with_one_param` with the parameter `param1`
+
+`ZOOPPA_API.awards.where('custom:method_with_two_params:param1/param2').execute(token)`
+
+Call the custom method `method_with_two_params` with parameters: `param1` and `param2`
###Sorting
`ZOOPPA_API.ads.sort('title ASC').execute('token')`