badboy / xmlrpc-example
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
BadBoy (author)
Tue Dec 16 12:12:21 -0800 2008
README
sample.sumAndDifference(3, 5)
{"sum"=>8, "difference"=>-2}
sample.requestLogin(test)
!!! exception caught: XMLRPC::FaultException
Uncaught exception return can't jump across threads in method sample.requestLogin
sample.requestLogin(42)
!!! exception caught: XMLRPC::FaultException
Uncaught exception return can't jump across threads in method sample.requestLogin
sample.requestLogin2(test)
{"token"=>"5dbe1se6y"}
sample.requestLogin2(42)
{"token"=>"7g0a1yo8a"}
sample.gettoken()
{"42"=>{"token"=>"7g0a1yo8a", "time"=>#<XMLRPC::DateTime:0xb72f5208 @min=12, @year=2008, @hour=21, @day=16, @sec=12,
@month=12>}, "test"=>{"token"=>"5dbe1se6y", "time"=>#<XMLRPC::DateTime:0xb72f2e7c @min=12, @year=2008, @hour=21,
@day=16, @sec=12, @month=12>}}
sample.zero()
!!! exception caught: XMLRPC::FaultException
Uncaught exception undefined local variable or method `asdfasfdasdf' for main:Object in method sample.zero
sample.zero2()
!!! exception caught: XMLRPC::FaultException
Uncaught exception divided by 0 in method sample.zero2
sample.l(7, 8)
{"sum"=>15, "difference"=>-1}

