Get rid of deprecated methods in Class::MOP (and depend on newest Moose)
[catagits/Reaction.git] / lib / Reaction / Meta / InterfaceModel / Object / Class.pm
index 912af6e..47997ff 100644 (file)
@@ -24,12 +24,12 @@ sub add_domain_model {
 sub parameter_attributes {
   my $self = shift;
   return grep { $_->isa(ParameterAttribute) } 
-    $self->compute_all_applicable_attributes;
+    $self->get_all_attributes;
 };
 sub domain_models {
   my $self = shift;
   return grep { $_->isa(DomainModelAttribute) } 
-    $self->compute_all_applicable_attributes;
+    $self->get_all_attributes;
 };
 
 __PACKAGE__->meta->make_immutable;