comparison Lib/IMPL/Web/Application/CustomResourceContract.pm @ 268:4abda21186cd

*refactoring IMPL::Web: added 'application' property to resources
author cin
date Mon, 21 Jan 2013 02:08:17 +0400
parents 6d8092d8ce1b
children fe725fad2d90
comparison
equal deleted inserted replaced
267:bbc0da7ef90e 268:4abda21186cd
53 ); 53 );
54 } 54 }
55 55
56 sub _GetAllowedHttpMethods { 56 sub _GetAllowedHttpMethods {
57 my ($resource) = @_; 57 my ($resource) = @_;
58 return grep $resource->can($RESOURCE_BINDINGS{$_}), values %RESOURCE_BINDINGS; 58 return grep $resource->can($RESOURCE_BINDINGS{$_}), keys %RESOURCE_BINDINGS;
59 } 59 }
60 60
61 1; 61 1;
62 62
63 __END__ 63 __END__