Scrython/rulings/set_code.py

9 lines
292 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, number):
self.code = code.lower()
self.number = str(number)
self.url = 'cards/{}/{}/rulings'.format(self.code, self.number)
super(Code, self).__init__(self.url)