Release Notes
Changes have been made so that conventions used in the Ruby SDK align with Authsignal's general SDK conventions.
Breaking Changes
-
update_user
- Replaced the
user
parameter withattributes
in theupdate_user
function.
- Replaced the
-
track
- Updated function signature:
- Old:
def track(event)
- New:
def track(:user_id, :action, :attributes)
- Old:
- Updated function signature:
-
enroll_verified_authenticator
- Updated to accept named parameters:
user_id
andattributes
.
- Updated to accept named parameters:
-
get_user
- Removed
redirectUrl
from the function signature.
- Removed
-
update_action_state
- Renamed method
update_action_state
toupdate_action
. - Replaced input parameter
state
withattributes
.
- Renamed method
-
Parameter Renaming
- Replaced
base_uri
withapi_url
to align with Authsignal conventions.
- Replaced
-
Error Handling Updates
- Error response changes:
status
replaced withstatus_code
.error
replaced witherror_code
.
- Error response changes:
Non-Breaking Changes
get_authenticators
- Added a new method:
get_authenticators
.
- Added a new method: