aprs.me/lib/aprsme_web/controllers/api/v1/json
Graham McIntire c8bd85565c
Reduce cyclomatic complexity in callsign_json.ex
Extract device attribute addition into helper function to reduce
cyclomatic complexity from 10 to 9:

- callsign_json.ex: Extract add_device_attributes/2 helper
  Moves device.model, device.vendor, device.contact, and device.class
  attribute additions into separate function

This reduces complexity by isolating the && operators in a dedicated
helper function.

Fixes 1 Credo cyclomatic complexity issue (10 remaining).
2026-02-09 12:39:22 -06:00
..
callsign_json.ex Reduce cyclomatic complexity in callsign_json.ex 2026-02-09 12:39:22 -06:00
changeset_json.ex en español 2025-07-05 15:51:39 -05:00
error_json.ex en español 2025-07-05 15:51:39 -05:00