summaryrefslogtreecommitdiff
path: root/ricky/pbgradient/__init__.py
diff options
context:
space:
mode:
authorpepperpepperpepper <pepper@scannerjammer.com>2015-12-06 17:31:00 -0800
committerpepperpepperpepper <pepper@scannerjammer.com>2015-12-06 17:31:00 -0800
commitf72d7dc6a5a926f56790151e3dde36eaf7978ba0 (patch)
tree1620560f424ffc558ac30ae1b6246d4b7df2eeac /ricky/pbgradient/__init__.py
parent8ebd9d7eb7b3289a722cdae6a4bdcdd4cd21ff86 (diff)
cleaned up names
Diffstat (limited to 'ricky/pbgradient/__init__.py')
-rw-r--r--ricky/pbgradient/__init__.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/ricky/pbgradient/__init__.py b/ricky/pbgradient/__init__.py
new file mode 100644
index 0000000..96b15a5
--- /dev/null
+++ b/ricky/pbgradient/__init__.py
@@ -0,0 +1,15 @@
+"""class for the imgradient api handler"""
+from ricky.pb import Pb
+from ricky.pbgradient.params import Params
+from ricky.config import IMGRADIENT_URL
+
+
+class PbGradient(Pb):
+ def __init__(self):
+ super(PbGradient, self).__init__()
+ self.url = IMGRADIENT_URL
+
+ def params_init(self):
+ new_params = Params()
+ new_params.api = self
+ return new_params