Skip to content

How to handle multiple types #161

@aliceclv

Description

@aliceclv

How would you normally handle a parameter that has multiple types?
I have a hash, containing a key channel_id that can be either string or integer.

Thanks a lot for your help 🙏 !

hash :setup do
  integer :channel_id
  string :channel_id
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions