File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ Or install it yourself as:
2929require ' recombee_api_client'
3030include RecombeeApiClient
3131
32- client = RecombeeClient (' --my-database-id--' , ' --db-private-token--' , {:region => ' us-west' })
32+ client = RecombeeClient . new (' --my-database-id--' , ' --db-private-token--' , {:region => ' us-west' })
3333
3434# Generate some random purchases of items by users
3535NUM = 100
@@ -76,7 +76,7 @@ include RecombeeApiClient
7676NUM = 100
7777PROBABILITY_PURCHASED = 0.1
7878
79- client = RecombeeClient (' --my-database-id--' , ' --db-private-token--' , {:region => ' ap-se' })
79+ client = RecombeeClient . new (' --my-database-id--' , ' --db-private-token--' , {:region => ' ap-se' })
8080client.send(ResetDatabase .new ) # Clear everything from the database (asynchronous)
8181
8282# We will use computers as items in this example
You can’t perform that action at this time.
0 commit comments