The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Raisin::Entity::Object - An expose object.

VERSION

version 0.90

DESCRIPTION

An internal object used in Raisin::Plugin::Swagger and Raisin::Entity.

METHODS

name

A parameter's name.

runtime

A parameter's CODE reference.

using

A link to other Raisin::Entity which will be used to expose.

required

Made for compatibility with Raisin::Param. Always returns true.

alias

A parameter's alias.

condition

A parameter's CODE reference which is used to evaluate a condition.

type

A parameter's type.

display_name

Displays a parameter's "alias" in Raisin::Entity::Object if set or "name" in Raisin::Entity::Object otherwise.

AUTHOR

Artur Khabibullin <rtkh@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2019 by Artur Khabibullin.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.