Elastic-Model
view release on metacpan or search on metacpan
lib/Elastic/Model/Types.pm view on Meta::CPAN
=head2 Binary
use Elastic::Model::Types qw(Binary);
has 'binary_field' => (
is => 'ro',
isa => Binary
);
Inherits from the C<Defined> type. Is automatically Base64 encoded/decoded.
=head2 GeoPoint
use Elastic::Model::Types qw(GeoPoint);
has 'point' => (
is => 'ro',
isa => GeoPoint,
coerce => 1,
);
( run in 0.230 second using v1.01-cache-2.11-cpan-26ccb49234f )