1MetaCPAN::Client::Role:U:sEenrtiCtoyn(t3r)ibuted Perl DoMceutmaeCnPtAaNt:i:oCnlient::Role::Entity(3)
2
3
4

NAME

6       MetaCPAN::Client::Role::Entity - A role for MetaCPAN entities
7

VERSION

9       version 2.028000
10

DESCRIPTION

12       This is a role to be consumed by all MetaCPAN::Client entities. It
13       provides common attributes and methods.
14

ATTRIBUTES

16   data
17       Hash reference containing all the entity data.
18
19       Entities are usually generated using "new_from_request" which sets the
20       "data" attribute appropriately by picking the relevant information.
21
22       Required.
23

METHODS

25   new_from_request
26       Create a new entity object using a request hash. The hash represents
27       the information returned from a MetaCPAN request. This also sets the
28       data attribute.
29
30   BUILDARGS
31       Perform type checks & conversion for the incoming data.
32

AUTHORS

34       ·   Sawyer X <xsawyerx@cpan.org>
35
36       ·   Mickey Nasriachi <mickey@cpan.org>
37
39       This software is copyright (c) 2016 by Sawyer X.
40
41       This is free software; you can redistribute it and/or modify it under
42       the same terms as the Perl 5 programming language system itself.
43
44
45
46perl v5.32.0                      2020-08-24 MetaCPAN::Client::Role::Entity(3)
Impressum