FastPix Ruby SDK moves to fastpix.com, with metrics-URL and view-event fixes
FastPix Ruby SDK moves to fastpix.com, with metrics-URL and view-event fixes
The FastPix Ruby SDK (the fastpixapi gem) now defaults to the fastpix.com hosts, fixes Data metrics calls that were failing on enum path parameters, and corrects view-event deserialization. For most integrations, updating the dependency is enough.
What’s new:
-
Default hosts moved to fastpix.com: the default server URL is now
https://api.fastpix.com/v1/. If you rely on the defaults, just runbundle update fastpixapi(orgem update fastpixapi). If you pass an explicit.ioserver_urloverride, change it to.com, and update any hard-coded.ioplayback, image, or dashboard URLs before the.iohosts are decommissioned. -
Fixed failing Data metrics calls: enum path parameters (such as
dimensionsIdandmetricId) were serialized as their Ruby object inspect string instead of the wire value, producing invalid URLs and failing calls to the dimensions and metrics endpoints (list_filter_values_for_dimension,list_breakdown_values,list_overall_values,get_timeseries_data). These now resolve correctly. -
Fixed view-event deserialization: the
Eventmodel JSON key mappings (pt,e,vt,d, and theeventDetailssub-keys) were mismapped, causing all event fields to deserialize asnil.get_video_view_detailsnow serializes with full, human-readable field names. -
Added missing response field: delete-signing-key responses now include the optional
data.messageconfirmation (DeleteSigningKeyResponse). -
Security and code-quality hardening (v1.1.3): pinned the GitHub Actions release workflow to full commit SHAs to prevent supply-chain tampering during gem publication, added SonarCloud static analysis, and completed a behavior-preserving refactor with more specific exception types (all still
StandardErrorsubclasses, so existingrescuehandling is unaffected).