Skip to content

Commit

Permalink
switch to MetaCPAN::Types
Browse files Browse the repository at this point in the history
  • Loading branch information
ranguard committed May 4, 2015
1 parent a921d31 commit 59d36ed
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/MetaCPAN/Web/Role/Fastly.pm
Expand Up @@ -3,6 +3,8 @@ package MetaCPAN::Web::Role::Fastly;
use Moose::Role;
use Net::Fastly;

use MetaCPAN::Types qw( ArrayRef Str );

=head1 NAME
MetaCPAN::Web::Role::Fastly - Methods for fastly intergration
Expand All @@ -14,7 +16,7 @@ MetaCPAN::Web::Role::Fastly - Methods for fastly intergration
has '_surrogate_keys' => (
traits => ['Array'],
is => 'ro',
isa => 'ArrayRef[Str]',
isa => ArrayRef [Str],
default => sub { [] },
handles => {
add_surrogate_key => 'push',
Expand All @@ -27,7 +29,7 @@ has '_surrogate_keys' => (
has '_surrogate_keys_to_purge' => (
traits => ['Array'],
is => 'ro',
isa => 'ArrayRef[Str]',
isa => ArrayRef [Str],
default => sub { [] },
handles => {
purge_surrogate_key => 'push',
Expand Down

0 comments on commit 59d36ed

Please sign in to comment.