NAME

DDG::ZeroClickInfo - DuckDuckGo server side used ZeroClickInfo result class

VERSION

version 1009

SYNOPSIS

my $zci = DDG::ZeroClickInfo->new(
  answer => "I'm a little teapot!",
  is_cached => 1,
  ttl => 500,
);

DESCRIPTION

This is the extension of the WWW::DuckDuckGo::ZeroClickInfo class, how it is used on the server side of DuckDuckGo. It adds attributes to the ZeroClickInfo class which are not required for the client side usage.

So far all required attributes get injected via DDG::IsControllable.

SEE ALSO

WWW::DuckDuckGo::ZeroClickInfo

AUTHOR

DuckDuckGo <open@duckduckgo.com>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2013 by DuckDuckGo, Inc. https://duckduckgo.com/.

This is free software, licensed under:

The Apache License, Version 2.0, January 2004