Group
Extension

Matches 1

Net-Amazon-S3-Policy ( P/PO/POLETTIX/Net-Amazon-S3-Policy-0.1.6.tar.gz, POLETTIX, 2013; MetaCPAN )
Net-Amazon-S3-Policy/lib/Net/Amazon/S3/Policy.pm ( view source; MetaCPAN )
strict;
use version; our $VERSION = qv('0.1.6');

use Carp;
use English qw( -no_match_vars );
use JSON;
use Encode ();
use MIME::Base64 qw< decode_base64 >;

use Exporter;
our @ISA = qw( Exporter );
o
gs  = ref($_[0]) ? %{$_[0]} : @_;
   my $self  = bless {}, $class;

   if ($args{json}) {
      $self->parse($args{json});
   }
   else {
      $self->expiration($args{expiration}) if defined $args{ex
ax];
}

sub json {
   my ($self, $args) = @_;
   my %params = %$self;
   delete $params{expiration} unless defined $params{expiration};
   return to_json(\%params, $args);
} ## end sub json

sub base6

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.