Skip to content

Commit 7c22b12

Browse files
committed
method rename
1 parent 4c87396 commit 7c22b12

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pysmartprice/results.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ class SmartPriceResult(object):
55
def __init__(self, params):
66
self.__dict__.update(params)
77

8-
def dumpjson(self):
8+
@property
9+
def dumptojson(self):
910
return json.dumps(self.__dict__)

0 commit comments

Comments
 (0)