Skip to content

Unclear response format #14

@privorotskii

Description

@privorotskii

Documentation says Both the identify() and track() methods return an Outbound::Result instance.

But there is Outbound::Result if I call identify with invalid parameters only. If I call identify method with valid parameters - it returns [nil, true]. There is a PR #7 mentioning this problem.
post method returns [err, true] and if there are no errors - it returns not an Outbound::Result instance.

Expected behaviour:

Getting Outbound::Result as result of calling identify method, as it mentioned in documentation

Actual behaviour:

Getting [nil, true] as result of calling identify method, which is not giving any understanding if result success or not

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions