lib/seam/routes/clients/acs_encoders.rb in seam-2.2.0 vs lib/seam/routes/clients/acs_encoders.rb in seam-2.3.0

- old
+ new

@@ -16,11 +16,11 @@ wait_for_action_attempt = wait_for_action_attempt.nil? ? @defaults.wait_for_action_attempt : wait_for_action_attempt Helpers::ActionAttempt.decide_and_wait(Seam::Resources::ActionAttempt.load_from_response(res.body["action_attempt"]), @client, wait_for_action_attempt) end - def list(acs_encoder_ids: nil, acs_system_ids: nil, limit: nil) - @client.post("/acs/encoders/list", {acs_encoder_ids: acs_encoder_ids, acs_system_ids: acs_system_ids, limit: limit}.compact) + def list(acs_system_id: nil, limit: nil, acs_system_ids: nil, acs_encoder_ids: nil) + @client.post("/acs/encoders/list", {acs_system_id: acs_system_id, limit: limit, acs_system_ids: acs_system_ids, acs_encoder_ids: acs_encoder_ids}.compact) nil end def scan_credential(acs_encoder_id:, acs_system_id:, wait_for_action_attempt: nil)