2018-01-31 01:47:31 +00:00
|
|
|
from .rulings_object import RulingsObject
|
2018-01-31 01:36:44 +00:00
|
|
|
|
|
|
|
class Mtgo(RulingsObject):
|
2018-02-06 02:16:54 +00:00
|
|
|
def __init__(self, **kwargs):
|
2018-02-13 21:55:32 +00:00
|
|
|
if kwargs.get('id') is None:
|
|
|
|
raise TypeError('No id provided to search by')
|
|
|
|
|
|
|
|
self.url = 'cards/mtgo/{}/rulings'.format(str(kwargs.get('id')))
|
2018-01-31 01:36:44 +00:00
|
|
|
super(Mtgo, self).__init__(self.url)
|