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 1.397 second using v1.01-cache-2.11-cpan-a9ef4e587e4 )