cache api clients

This commit is contained in:
Albert Yi
2018-09-10 17:28:18 -07:00
parent e0e85a3139
commit 266c7c0d5b
11 changed files with 99 additions and 64 deletions

View File

@@ -123,7 +123,7 @@ module Sources
public
def api_client
NicoSeigaApiClient.new(illust_id)
NicoSeigaApiClient.new(illust_id: illust_id)
end
memoize :api_client