comparison Lib/IMPL/Config/Resolve.pm @ 199:e743a8481327

Added REST support for forms (with only get and post methods)
author sergey
date Mon, 23 Apr 2012 01:36:52 +0400
parents 4d0e1962161c
children c8fe3f84feba
comparison
equal deleted inserted replaced
198:2ffe6f661605 199:e743a8481327
19 while(my $name = shift ) { 19 while(my $name = shift ) {
20 my $args = shift; 20 my $args = shift;
21 $list->Append({ method => $name, (defined $args ? (args => $args) : ()) }); 21 $list->Append({ method => $name, (defined $args ? (args => $args) : ()) });
22 } 22 }
23 23
24 die new IMPL::InvalidArgumentException("The argument is mandatory","path") unless $this->path->Count; 24 #die new IMPL::InvalidArgumentException("The argument is mandatory","path") unless $this->path->Count;
25 } 25 }
26 26
27 sub Invoke { 27 sub Invoke {
28 my ($this,$target,$default) = @_; 28 my ($this,$target,$default) = @_;
29 29