summaryrefslogtreecommitdiff
path: root/Pb_Api/Param/__init__.py
diff options
context:
space:
mode:
authorPepper <pepper@scannerjammer.com>2015-03-04 22:24:31 -0500
committerPepper <pepper@scannerjammer.com>2015-03-04 22:24:31 -0500
commitf9245931af0b8513f3b38e42a89e89ecb96593c6 (patch)
tree1c2c44bbd13bd08765ffd35d1c5b2648db218783 /Pb_Api/Param/__init__.py
parent021842ec42b991e7a641ae26862d77b324ea05db (diff)
still working on it
Diffstat (limited to 'Pb_Api/Param/__init__.py')
-rw-r--r--Pb_Api/Param/__init__.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/Pb_Api/Param/__init__.py b/Pb_Api/Param/__init__.py
index af13a2a..edbfd53 100644
--- a/Pb_Api/Param/__init__.py
+++ b/Pb_Api/Param/__init__.py
@@ -1,8 +1,10 @@
class Pb_Api_Param(object):
+ def __init__(self, *args, **kwargs):
+ self.value(args, kwargs)
def name(self):
- return self.name
+ return self._name
def required(self):
- return self.required
+ return self._required
def manually_set(self, *args):
if len(args) >= 1: