NAME

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

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 <at> cpan.org

LICENSE

This module and all the modules in this package are governed by the same license as Perl itself.