Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/Yandex/Disk/Public.pm
Original file line number Diff line number Diff line change
Expand Up @@ -132,21 +132,21 @@ version 0.06
=head2 publicFile(%opt)

Make file or folder as public
$disk->publicFile ( -path => '/Temp/small_file' ) or die "Cant public file"; #Make file '/Temp/small_file' as public
$public->publicFile ( -path => '/Temp/small_file' ) or die "Cant public file"; #Make file '/Temp/small_file' as public
Options:
-path => Path to resource on yandex disk, where need public

=head2 unpublicFile(%opt)

Remove public access to resources
$disk->unpublicFile( -path => '/Temp/small_file' ) or die "Cant unpublic file";
$public->unpublicFile( -path => '/Temp/small_file' ) or die "Cant unpublic file";
Options:
-path => Path to resource on yandex disk, where need public

=head2 listPublished(%opt)

Return array hashref with published files
my $list = $disk->listPublished();
my $list = $public->listPublished();
Options:
-limit => Limit max files to output (default: unlimited)
-offset => Offset records from start (default: 0)
Expand Down