projects
/
profile
/
ivi
/
python-twisted.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial import to Tizen
[profile/ivi/python-twisted.git]
/
doc
/
web
/
howto
/
listings
/
soap.rpy
1
from twisted.web import soap
2
import os
3
4
def getQuote():
5
return "That beverage, sir, is off the hizzy."
6
7
class Quoter(soap.SOAPPublisher):
8
"""Publish one method, 'quote'."""
9
10
def soap_quote(self):
11
return getQuote()
12
13
resource = Quoter()