chore: Cleanup unused helper file

This commit is contained in:
Nemo 2019-08-12 18:57:52 +05:30
parent beed823d63
commit cf2ac7eebc
1 changed files with 0 additions and 13 deletions

View File

@ -1,13 +0,0 @@
module Outliner
class Helper
def find_or_create_collection(client, name)
collections = client.collections_list(limit: 100)['data']
collections.filter!{|c|c['name'] == name}
if collections.size >= 1
collections[0]['id']
else
client.collections_create(name: name, description: 'Imported Collection')['data']['id']
end
end
end
end