diff options
Diffstat (limited to 'ricky/pbgradient/__init__.py')
| -rw-r--r-- | ricky/pbgradient/__init__.py | 15 |
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 |
