Scrython/scrython/rulings/set_code.py

7 lines
248 B
Python
Raw Normal View History

from .rulings_object import RulingsObject
2018-01-31 01:36:44 +00:00
class Code(RulingsObject):
def __init__(self, code, collector_number):
2018-02-13 21:55:32 +00:00
self.url = 'cards/{}/{}/rulings'.format(code.lower(), str(collector_number))
2018-01-31 01:36:44 +00:00
super(Code, self).__init__(self.url)