Scrython/rulings/scryfall_id.py

8 lines
221 B
Python
Raw Normal View History

from .rulings_object import RulingsObject
2018-01-31 01:36:44 +00:00
class Id(RulingsObject):
def __init__(self, _id):
self.id = str(_id)
self.url = 'cards/{}/rulings'.format(self.id)
super(Id, self).__init__(self.url)