Skip to content

Hash confusion with API objects #316

Open
@tamoyal

Description

@tamoyal

This seems like odd behavior to me:

irb(main):023> u.is_a?(WorkOS::DirectoryUser)
=> true
irb(main):024> u.to_hash.is_a?(WorkOS::DirectoryUser)
=> true

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions