Skip to content

Commit

Permalink
switch this to around, so that we can be more consistent and use role…
Browse files Browse the repository at this point in the history
…s too
  • Loading branch information
Stevan Little committed Jan 30, 2011
1 parent 4a5fc45 commit 7cf147b
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions lib/Jackalope/REST/Schema/Spec.pm
Expand Up @@ -6,17 +6,21 @@ our $AUTHORITY = 'cpan:STEVAN';

extends 'Jackalope::Schema::Spec';

override '_all_spec_builder_methods' => sub {
around '_all_spec_builder_methods' => sub {
my $next = shift;
my $self = shift;
super(), qw[
resource
resource_ref
service_discoverable
service_readonly
service_non_editable
service
]
return (
$self->$next(),
qw[
resource
resource_ref
service_discoverable
service_readonly
service_non_editable
service
]
);
};

## ------------------------------------------------------------------
Expand Down

0 comments on commit 7cf147b

Please sign in to comment.