README.md in ka-ching-client-0.2.0 vs README.md in ka-ching-client-0.2.1

- old
+ new

@@ -32,10 +32,11 @@ - [inactive](#inactive-1) - [Admin](#admin) - [details](#details) - [create!](#create) - [drop!](#drop-1) + - [reset!](#reset) - [Development](#development) - [Contributing](#contributing) - [License](#license) ## Installation @@ -265,27 +266,27 @@ #### all Get all tenants paginated. ```ruby -res = client.v1.tenants.all(page: 1) +res = client.v1.tenants.all(page: 1, per_page: 1000) ``` #### active Get all active tenants paginated. ```ruby -res = client.v1.tenants.active(page: 1) +res = client.v1.tenants.active(page: 1, per_page: 1000) ``` #### inactive Get all inactive tenants paginated. ```ruby -res = client.v1.tenants.inactive(page: 1) +res = client.v1.tenants.inactive(page: 1, per_page: 1000) ``` ### Admin All admin related endpoints, for managing tenant databases. @@ -310,9 +311,17 @@ Drop/Delete a tenant database. ```ruby res = client.v1.admin.drop!(tenant_account_id: 'testuser_1') +``` + +#### reset! + +Reset a tenant database. + +```ruby +res = client.v1.admin.reset!(tenant_account_id: 'testuser_1') ``` ## Development After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.