Skip to content

Commit

Permalink
fixed: readme documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
giraysam committed Nov 10, 2016
1 parent 7377a68 commit ccb1c15
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,12 @@ API Reference

1. `bucket` (**String**)
2. `options` (**Object**)
* `type`: (**local** | **session**)
* `storage`: (**local** | **session**)
* `encrypt`: (**true** | **false**)


```js
var boomerang = BoomerangCache.create('bucket_1');
var boomerang = BoomerangCache.create('bucket1', {storage: 'local', encrypt: true});
```

### BoomerangCache.set
Expand Down

0 comments on commit ccb1c15

Please sign in to comment.