|
NAMEMetaCPAN::Client::Role::Entity - A role for MetaCPAN entitiesVERSIONversion 2.029000DESCRIPTIONThis is a role to be consumed by all MetaCPAN::Client entities. It provides common attributes and methods.ATTRIBUTESdataHash reference containing all the entity data.Entities are usually generated using "new_from_request" which sets the "data" attribute appropriately by picking the relevant information. Required. METHODSnew_from_requestCreate a new entity object using a request hash. The hash represents the information returned from a MetaCPAN request. This also sets the data attribute.BUILDARGSPerform type checks & conversion for the incoming data.AUTHORS
COPYRIGHT AND LICENSEThis software is copyright (c) 2016 by Sawyer X.This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Visit the GSP FreeBSD Man Page Interface. |