Scrython/rulings/scryfall_id.py

9 lines
248 B
Python
Raw Normal View History

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