lib/sellsy/custom_field.rb in sellsy-client-0.9.0 vs lib/sellsy/custom_field.rb in sellsy-client-0.10.0

- old
+ new

@@ -39,15 +39,15 @@ else nil end end - def self.all + def self.all(nb_per_page = 30) command = { 'method' => 'CustomFields.getList', 'params' => { 'pagination' => { - 'nbperpage' => 30 + 'nbperpage' => nb_per_page } } } response = MultiJson.load(Sellsy::Api.request command) \ No newline at end of file