summaryrefslogtreecommitdiff
path: root/Pb_Api/ImBreak/__init__.py
diff options
context:
space:
mode:
authoryo mama <pepper@scannerjammer.com>2015-03-11 02:51:58 -0700
committeryo mama <pepper@scannerjammer.com>2015-03-11 02:51:58 -0700
commita5123bfab06f7fd8884b9b4f12f579dceec43aa1 (patch)
tree5120729cadf48ce97caeb90c34b850308c9a9f21 /Pb_Api/ImBreak/__init__.py
parentd9651ca5fb6c655afbe88a014c8bb8a8f000a70d (diff)
finished OOP rewriteOOP
Diffstat (limited to 'Pb_Api/ImBreak/__init__.py')
-rw-r--r--Pb_Api/ImBreak/__init__.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/Pb_Api/ImBreak/__init__.py b/Pb_Api/ImBreak/__init__.py
new file mode 100644
index 0000000..7836f2e
--- /dev/null
+++ b/Pb_Api/ImBreak/__init__.py
@@ -0,0 +1,13 @@
+#!/usr/bin/python2.7
+from Pb_Api import Pb_Api
+from Pb_Api.ImBreak.Params import ImBreak_Params
+from config import IMBREAK_URL
+
+class Pb_Api_ImBreak(Pb_Api):
+ def __init__(self):
+ self.url = IMBREAK_URL
+ def params_init(self):
+ new_params = ImBreak_Params()
+ #new_params = self.get_from_server()
+ new_params.api = self
+ return new_params