NAME
Net::API::CPAN::Changes::Release - Meta CPAN API Changes::Release Class
SYNOPSIS
use Net::API::CPAN::Changes::Release;
my $obj = Net::API::CPAN::Changes::Release->new( {
author => "MOMOTARO",
changes_file => "CHANGES",
changes_text => "Revision history for Perl module Folklore::Japan\n\nv1.2.3 2023-07-29T09:12:10+0900\n - Initial release\n",
release => "Folklore-Japan-v1.2.3",
} ) || die( Net::API::CPAN::Changes::Release->error );
my $string = $obj->author;
my $string = $obj->changes_file;
my $string = $obj->changes_text;
my $str = $obj->object;
my $string = $obj->release;
VERSION
v0.1.0
DESCRIPTION
This class serves to retrieve and manipulate changes_releases.
It inherits from Net::API::CPAN::Generic
CONSTRUCTOR
new
Provided with an hash or hash reference of parameters, and this instantiates a new Net::API::CPAN::Changes::Release
object.
The parameters that can be provided bear the same name and supports the same values as the methods below.
METHODS
author
$obj->author( "MOMOTARO" );
my $string = $obj->author;
Sets or gets a string and returns a scalar object, even if there is no value.
changes_file
$obj->changes_file( "CHANGES" );
my $string = $obj->changes_file;
Sets or gets a string and returns a scalar object, even if there is no value.
changes_text
$obj->changes_text( "Revision history for Perl module Folklore::Japan\n\nv1.2.3 2023-07-29T09:12:10+0900\n - Initial release\n" );
my $string = $obj->changes_text;
Sets or gets a string and returns a scalar object, even if there is no value.
object
Returns the object type for this class, which is changes_release
release
$obj->release( "Folklore-Japan-v1.2.3" );
my $string = $obj->release;
Sets or gets a string and returns a scalar object, even if there is no value.
API SAMPLE
{
"author" : "MOMOTARO",
"changes_file" : "CHANGES",
"changes_text" : "Revision history for Perl module Folklore::Japan\n\nv1.2.3 2023-07-29T09:12:10+0900\n - Initial release\n",
"release" : "Folklore-Japan-v1.2.3"
}
AUTHOR
Jacques Deguest <jack@deguest.jp>
SEE ALSO
Net::API::CPAN, Net::API::CPAN::Activity, Net::API::CPAN::Author, Net::API::CPAN::Changes, Net::API::CPAN::Changes::Release, Net::API::CPAN::Contributor, Net::API::CPAN::Cover, Net::API::CPAN::Diff, Net::API::CPAN::Distribution, Net::API::CPAN::DownloadUrl, Net::API::CPAN::Favorite, Net::API::CPAN::File, Net::API::CPAN::Module, Net::API::CPAN::Package, Net::API::CPAN::Permission, Net::API::CPAN::Rating, Net::API::CPAN::Release
MetaCPAN::API, MetaCPAN::Client
https://github.com/metacpan/metacpan-api/blob/master/docs/API-docs.md
COPYRIGHT & LICENSE
Copyright(c) 2023 DEGUEST Pte. Ltd.
All rights reserved
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.