7 lines
200 B
Python
7 lines
200 B
Python
|
class Rates():
|
||
|
def __init__(self, base):
|
||
|
self.method = "getRates"
|
||
|
self.base = base
|
||
|
|
||
|
def fetch(self, params={}):
|
||
|
return self.base.request(self.method, params=params)
|